mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix 'create' edit dialog without permissions form
This commit is contained in:
parent
67653871b3
commit
c12c7c23fb
@ -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