We can use Splice in angular Using splice function.
After you have successfully deleted your item from the server, you can delete it from the array using
splice(...)
like this:
const index = this.checkinTemp.indexOf(item);
this.checkinTemp.splice(index, 1);
No comments:
Post a Comment