mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
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:
parent
ae0c585918
commit
20c6abae63
@ -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))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user