mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-07 08:37:13 +00:00
Fix 'create' edit dialog without permissions form
This commit is contained in:
1 parent
c04ded6fd8
commit
a83c7c64b5
1 file changed
+1
-1
@@ -69,7 +69,7 @@ export abstract class EditDialogComponent<
|
||||
this.userService.listAll().subscribe((r) => {
|
||||
this.users = r.results
|
||||
if (this.dialogMode === 'create') {
|
||||
this.objectForm.get('permissions_form').setValue({
|
||||
this.objectForm.get('permissions_form')?.setValue({
|
||||
owner: this.settingsService.currentUser.id,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user