Correcting bug on crudentity deletion
This commit is contained in:
@@ -118,6 +118,7 @@ export class CardComponent implements OnInit {
|
||||
|
||||
onDelete() {
|
||||
this._modelLoading$.next(true);
|
||||
this.model._id = this.resource_id;
|
||||
this.crudService.delete(this.resource!, this.model).subscribe({
|
||||
next: (model: any) => {
|
||||
this._modelLoading$.next(false);
|
||||
|
||||
Reference in New Issue
Block a user