zhaoke 9 mēneši atpakaļ
vecāks
revīzija
c8d2296ee3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 => {