Browse Source

fix(nc-gui): rollback LazySmartsheetRow template wrapper

pull/6954/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
bf81f7f80b
  1. 11
      packages/nc-gui/components/smartsheet/grid/Table.vue

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

@ -1471,8 +1471,14 @@ onKeyStroke('ArrowDown', onDown)
></td> ></td>
</tr> </tr>
</template> </template>
<template v-else>
<LazySmartsheetRow v-for="(row, rowIndex) of dataRef" ref="rowRefs" :key="rowIndex" :row="row"> <LazySmartsheetRow
v-for="(row, rowIndex) of dataRef"
v-show="!showSkeleton"
ref="rowRefs"
:key="rowIndex"
:row="row"
>
<template #default="{ state }"> <template #default="{ state }">
<tr <tr
class="nc-grid-row !xs:h-14" class="nc-grid-row !xs:h-14"
@ -1610,7 +1616,6 @@ onKeyStroke('ArrowDown', onDown)
</tr> </tr>
</template> </template>
</LazySmartsheetRow> </LazySmartsheetRow>
</template>
<tr <tr
v-if="isAddingEmptyRowAllowed && !isGroupBy" v-if="isAddingEmptyRowAllowed && !isGroupBy"

Loading…
Cancel
Save