refactor: drop unused orgrepo query
This commit is contained in:
parent
137af2df75
commit
b2e7a97dab
|
@ -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);
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue