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': case 'stars':
return GhStars(login); return GhStars(login);
case 'repositories': case 'repositories':
case 'orgrepo':
return GhRepos(login); return GhRepos(login);
case 'organizations': case 'organizations':
return GhOrgs(login); return GhOrgs(login);

View File

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