We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3647a3d commit 1269e3dCopy full SHA for 1269e3d
index.ts
@@ -868,7 +868,7 @@ export const isUserTheOrganizationOwner = (): boolean => isOrganizationProfile()
868
export const canUserAdminRepo = (): boolean => {
869
const repo = getRepo();
870
return Boolean(repo && exists([
871
- `.GlobalNav a[href="${repo.nameWithOwner}/settings"]`,
+ `.GlobalNav a[href="/${repo.nameWithOwner}/settings"]`,
872
// Remove after June 2026
873
'.reponav-item[href$="/settings"]',
874
'[data-tab-item$="settings-tab"]',
0 commit comments