Browse Source

fix: unnecessary refs

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6375/head
mertmit 1 year ago
parent
commit
cb2c4a4a82
  1. 3
      packages/nc-gui/components/smartsheet/grid/Table.vue

3
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -171,8 +171,6 @@ const tableBodyEl = ref<HTMLElement>()
const fillHandle = ref<HTMLElement>() const fillHandle = ref<HTMLElement>()
const cellRefs = ref<{ el: HTMLElement }[]>([])
const gridRect = useElementBounding(gridWrapper) const gridRect = useElementBounding(gridWrapper)
// #Permissions // #Permissions
@ -1414,7 +1412,6 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
<SmartsheetTableDataCell <SmartsheetTableDataCell
v-for="(columnObj, colIndex) of fields" v-for="(columnObj, colIndex) of fields"
:key="columnObj.id" :key="columnObj.id"
ref="cellRefs"
class="cell relative nc-grid-cell" class="cell relative nc-grid-cell"
:class="{ :class="{
'cursor-pointer': hasEditPermission, 'cursor-pointer': hasEditPermission,

Loading…
Cancel
Save