|
|
@ -93,7 +93,7 @@ export class TenantsComponent implements OnInit { |
|
|
.pipe(finalize(() => (this.modalBusy = false))) |
|
|
.pipe(finalize(() => (this.modalBusy = false))) |
|
|
.subscribe(() => { |
|
|
.subscribe(() => { |
|
|
this.isModalVisible = false; |
|
|
this.isModalVisible = false; |
|
|
this.toasterService.success('AbpUi::SuccessfullySaved'); |
|
|
this.toasterService.success('AbpUi::SavedSuccessfully'); |
|
|
this.list.get(); |
|
|
this.list.get(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
@ -109,7 +109,7 @@ export class TenantsComponent implements OnInit { |
|
|
) |
|
|
) |
|
|
.subscribe((status: Confirmation.Status) => { |
|
|
.subscribe((status: Confirmation.Status) => { |
|
|
if (status === Confirmation.Status.confirm) { |
|
|
if (status === Confirmation.Status.confirm) { |
|
|
this.toasterService.success('AbpUi::SuccessfullyDeleted'); |
|
|
this.toasterService.success('AbpUi::DeletedSuccessfully'); |
|
|
this.service.delete(id).subscribe(() => this.list.get()); |
|
|
this.service.delete(id).subscribe(() => this.list.get()); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|