mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
Fix 'create' edit dialog without permissions form
This commit is contained in:
parent
c04ded6fd8
commit
a83c7c64b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue