mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -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.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…
x
Reference in New Issue
Block a user