mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 19:17:03 +01:00
Default frontend to current owner, allow setting no owner on create
This commit is contained in:
parent
caf43638de
commit
515146d4a2
11 changed files with 116 additions and 18 deletions
|
|
@ -8,6 +8,7 @@ import {
|
|||
} from 'src/app/data/paperless-mail-account'
|
||||
import { MailAccountService } from 'src/app/services/rest/mail-account.service'
|
||||
import { UserService } from 'src/app/services/rest/user.service'
|
||||
import { SettingsService } from 'src/app/services/settings.service'
|
||||
|
||||
const IMAP_SECURITY_OPTIONS = [
|
||||
{ id: IMAPSecurity.None, name: $localize`No encryption` },
|
||||
|
|
@ -30,9 +31,10 @@ export class MailAccountEditDialogComponent extends EditDialogComponent<Paperles
|
|||
constructor(
|
||||
service: MailAccountService,
|
||||
activeModal: NgbActiveModal,
|
||||
userService: UserService
|
||||
userService: UserService,
|
||||
settingsService: SettingsService
|
||||
) {
|
||||
super(service, activeModal, userService)
|
||||
super(service, activeModal, userService, settingsService)
|
||||
}
|
||||
|
||||
getCreateTitle() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue