mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 18:22:16 +01:00
remove owner from invite member select, fix modal not closing bug
This commit is contained in:
@@ -2,6 +2,6 @@ import type { Role } from '@/types/jetstream';
|
||||
|
||||
export function filterRoles(roles: Role[]) {
|
||||
return roles.filter(function (role) {
|
||||
return role.key !== 'placeholder';
|
||||
return role.key !== 'placeholder' || role.name !== 'owner';
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user