mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 10:07:15 +01:00
Fix inherited permissions should not display per user in permissions form
This commit is contained in:
parent
4cfc416cdc
commit
ae0c585918
9 changed files with 58 additions and 11 deletions
|
|
@ -77,7 +77,7 @@ export class SelectComponent extends AbstractInputComponent<number> {
|
|||
}
|
||||
|
||||
get isPrivate(): boolean {
|
||||
return this.items.find((i) => i.id === this.value)?.private
|
||||
return this.items?.find((i) => i.id === this.value)?.private
|
||||
}
|
||||
|
||||
getSuggestions() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue