mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
reverse
This commit is contained in:
1 parent
58a02a219d
commit
52f074812f
1 file changed
+1
-1
@@ -184,7 +184,7 @@ export default class UiStore implements IUiStore {
|
||||
// dangerous use of string here
|
||||
// to do, refactor so that changing the role name does not fail this check
|
||||
// if role name does change, then user will simply not be able to leave project as a 'owner' regardless
|
||||
return role && role.name === 'Owner'
|
||||
return role && role.name === 'Owner' && !member.invited_at
|
||||
})
|
||||
|
||||
console.log('membersWhoAreOwners', membersWhoAreOwners)
|
||||
|
||||
Reference in new issue
Block a user