mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
Confirm button text
This commit is contained in:
parent
d9547e87af
commit
07faba3983
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export class DirtyFormGuard extends DirtyCheckGuard {
|
|||
modal.componentInstance.messageBold = $localize`You have unsaved changes.`
|
||||
modal.componentInstance.message = $localize`Are you sure you want to leave?`
|
||||
modal.componentInstance.btnClass = "btn-warning"
|
||||
modal.componentInstance.btnCaption = $localize`Ok`
|
||||
modal.componentInstance.btnCaption = $localize`Leave page`
|
||||
modal.componentInstance.confirmClicked.subscribe(() => {
|
||||
modal.componentInstance.buttonsEnabled = false
|
||||
modal.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue