Skip to content

Commit 1269e3d

Browse files
fix
1 parent 3647a3d commit 1269e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ export const isUserTheOrganizationOwner = (): boolean => isOrganizationProfile()
868868
export const canUserAdminRepo = (): boolean => {
869869
const repo = getRepo();
870870
return Boolean(repo && exists([
871-
`.GlobalNav a[href="${repo.nameWithOwner}/settings"]`,
871+
`.GlobalNav a[href="/${repo.nameWithOwner}/settings"]`,
872872
// Remove after June 2026
873873
'.reponav-item[href$="/settings"]',
874874
'[data-tab-item$="settings-tab"]',

0 commit comments

Comments
 (0)