zhaoke 9 bulan lalu
induk
melakukan
c8d2296ee3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/views/newBagDetails/components/baggageView.vue

+ 1 - 1
src/views/newBagDetails/components/baggageView.vue

@@ -190,7 +190,7 @@ export default {
             item.bagStatus = _.cloneDeep(this.stepNodes)
           })
           this.tableDataCopy.push(...returnData)
-          //this.tableDataCopy = _.uniqBy(this.tableDataCopy, 'carrierFlights')
+          this.tableDataCopy = _.uniqBy(this.tableDataCopy, 'ID')
           // this.tableDataCopy = this.tableDataCopy.sort((a, b) => Date.parse(a.carrierFlightsDate) - Date.parse(b.carrierFlightsDate))
           this.tableDataCopy.forEach(item => {
             item.bagStatus.map(p => {