Browse Source

fix: use destructuring instead of delete

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/7005/head
mertmit 1 year ago
parent
commit
6a080212d6
  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