mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fixes #143
This commit is contained in:
parent
ecfae9dadd
commit
ece94379d8
@ -95,7 +95,7 @@ export abstract class GenericListComponent<T extends ObjectWithId> implements On
|
|||||||
activeModal.componentInstance.message = "Associated documents will not be deleted."
|
activeModal.componentInstance.message = "Associated documents will not be deleted."
|
||||||
activeModal.componentInstance.btnClass = "btn-danger"
|
activeModal.componentInstance.btnClass = "btn-danger"
|
||||||
activeModal.componentInstance.btnCaption = "Delete"
|
activeModal.componentInstance.btnCaption = "Delete"
|
||||||
activeModal.componentInstance.confirmPressed.subscribe(() => {
|
activeModal.componentInstance.confirmClicked.subscribe(() => {
|
||||||
this.service.delete(object).subscribe(_ => {
|
this.service.delete(object).subscribe(_ => {
|
||||||
activeModal.close()
|
activeModal.close()
|
||||||
this.reloadData()
|
this.reloadData()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user