Fix inherited permissions should not display per user in permissions form

This commit is contained in:
shamoon
2023-03-17 20:49:47 -07:00
parent 03cc5cbae1
commit 875b7662f4
9 changed files with 58 additions and 11 deletions

View File

@@ -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() {