Closed sumitdaga closed 5 years ago
please remove the useless logic in this as well:
onRemoveItem(arr, index) { if (this.isEditMode) { this.onValueDelete.emit({ element: arr[index], callback: () => { arr.splice(index, 1); } }); } else { arr.splice(index, 1); } }
ok removed! i let the if condition be just in case
please remove the useless logic in this as well: