topcoderinc / TC-redis-manager

5 stars 15 forks source link

fixes issue 239 #394

Closed sumitdaga closed 5 years ago

standlove commented 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);
    }
  }
sumitdaga commented 5 years ago

ok removed! i let the if condition be just in case