Skip to content

Commit c25f577

Browse files
authored
Fix canUserEditOrganization (#86)
1 parent 926600e commit c25f577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ collect.set('isRepositoryActions', [
557557
'https://github.com/fregante/github-url-detection/actions/workflows/esm-lint.yml',
558558
]);
559559

560-
export const canUserEditOrganization = (): boolean => isOrganizationProfile() && exists('.pagehead-tabs-item[href$="/settings/profile"]');
560+
export const canUserEditOrganization = (): boolean => isOrganizationProfile() && exists('[aria-label="Organization"] [data-tab-item="org-header-settings-tab"]');
561561

562562
export const canUserEditRepo = (): boolean => isRepo() && exists('.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]');
563563

0 commit comments

Comments
 (0)