mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Fix 'create' edit dialog without permissions form
This commit is contained in:
parent
c04ded6fd8
commit
a83c7c64b5
@ -69,7 +69,7 @@ export abstract class EditDialogComponent<
|
|||||||
this.userService.listAll().subscribe((r) => {
|
this.userService.listAll().subscribe((r) => {
|
||||||
this.users = r.results
|
this.users = r.results
|
||||||
if (this.dialogMode === 'create') {
|
if (this.dialogMode === 'create') {
|
||||||
this.objectForm.get('permissions_form').setValue({
|
this.objectForm.get('permissions_form')?.setValue({
|
||||||
owner: this.settingsService.currentUser.id,
|
owner: this.settingsService.currentUser.id,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user