exclude current user from permissions retrieval users

Revert "exclude current user from permissions retrieval users"

This reverts commit 87efd0ccc8d4eb9d8acb614d22a5c95ffdb895ae.

Update permissions-user.component.ts
This commit is contained in:
shamoon 2023-03-03 20:45:03 -08:00
parent ae0c585918
commit 20c6abae63

View File

@ -28,11 +28,6 @@ export class PermissionsUserComponent extends AbstractInputComponent<
userService
.listAll()
.pipe(first())
.subscribe(
(result) =>
(this.users = result.results.filter(
(u) => u.id !== settings.currentUser.id
))
)
.subscribe((result) => (this.users = result.results))
}
}