Browse Source

fix: use destructuring instead of delete

nc-oss/8fbb4681
mertmit 1 year ago
parent
commit
477bee53be
  1. 4
      packages/nc-gui/components/smartsheet/column/SelectOptions.vue

4
packages/nc-gui/components/smartsheet/column/SelectOptions.vue

@ -184,8 +184,8 @@ const syncOptions = () => {
return renderA - renderB
})
.map((op) => {
delete op.index
return op
const { index: _i, status: _s, ...rest } = op
return rest
})
}

Loading…
Cancel
Save