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 return renderA - renderB
}) })
.map((op) => { .map((op) => {
delete op.index const { index: _i, status: _s, ...rest } = op
return op return rest
}) })
} }

Loading…
Cancel
Save