if (name) modal.componentInstance.object = { name: name }
else if (this._lastSearchTerm)
modal.componentInstance.object = { name: this._lastSearchTerm }
- modal.componentInstance.success.subscribe((newTag) => {
+ modal.componentInstance.succeeded.subscribe((newTag) => {
this.tagService.listAll().subscribe((tags) => {
this.tags = tags.results
this.value = [...this.value, newTag.id]
})
modal.componentInstance.dialogMode = 'create'
if (newName) modal.componentInstance.object = { name: newName }
- modal.componentInstance.success
+ modal.componentInstance.succeeded
.pipe(
switchMap((newDocumentType) => {
return this.documentTypeService
})
modal.componentInstance.dialogMode = 'create'
if (newName) modal.componentInstance.object = { name: newName }
- modal.componentInstance.success
+ modal.componentInstance.succeeded
.pipe(
switchMap((newCorrespondent) => {
return this.correspondentService
})
modal.componentInstance.dialogMode = 'create'
if (newName) modal.componentInstance.object = { name: newName }
- modal.componentInstance.success
+ modal.componentInstance.succeeded
.pipe(
switchMap((newStoragePath) => {
return this.storagePathService
backdrop: 'static',
})
activeModal.componentInstance.dialogMode = 'create'
- activeModal.componentInstance.success.subscribe({
+ activeModal.componentInstance.succeeded.subscribe({
next: () => {
this.reloadData()
this.toastService.showInfo(
})
activeModal.componentInstance.object = object
activeModal.componentInstance.dialogMode = 'edit'
- activeModal.componentInstance.success.subscribe({
+ activeModal.componentInstance.succeeded.subscribe({
next: () => {
this.reloadData()
this.toastService.showInfo(
})
modal.componentInstance.dialogMode = account ? 'edit' : 'create'
modal.componentInstance.object = account
- modal.componentInstance.success
+ modal.componentInstance.succeeded
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe({
next: (newMailAccount) => {
})
modal.componentInstance.dialogMode = rule ? 'edit' : 'create'
modal.componentInstance.object = rule
- modal.componentInstance.success
+ modal.componentInstance.succeeded
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe({
next: (newMailRule) => {