We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
canUserEditOrganization
1 parent 926600e commit c25f577Copy full SHA for c25f577
index.ts
@@ -557,7 +557,7 @@ collect.set('isRepositoryActions', [
557
'https://github.com/fregante/github-url-detection/actions/workflows/esm-lint.yml',
558
]);
559
560
-export const canUserEditOrganization = (): boolean => isOrganizationProfile() && exists('.pagehead-tabs-item[href$="/settings/profile"]');
+export const canUserEditOrganization = (): boolean => isOrganizationProfile() && exists('[aria-label="Organization"] [data-tab-item="org-header-settings-tab"]');
561
562
export const canUserEditRepo = (): boolean => isRepo() && exists('.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]');
563
0 commit comments