1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-13 08:56:22 +01:00

refactor: drop unused orgrepo query

This commit is contained in:
Rongjian Zhang 2022-09-18 16:56:31 +08:00
parent 137af2df75
commit b2e7a97dab
2 changed files with 1 additions and 2 deletions

View File

@ -120,7 +120,6 @@ final router = GoRouter(
case 'stars':
return GhStars(login);
case 'repositories':
case 'orgrepo':
return GhRepos(login);
case 'organizations':
return GhOrgs(login);

View File

@ -207,7 +207,7 @@ class _Org extends StatelessWidget {
EntryItem(
count: p!.pinnableItems.totalCount,
text: AppLocalizations.of(context)!.repositories,
url: '/github/${p!.login}?tab=orgrepo',
url: '/github/${p!.login}?tab=repositories',
),
EntryItem(
count: p!.membersWithRole.totalCount,