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

Loading…
Cancel
Save