Browse Source

remove unused lines

pull/4242/head
redhoyasa 2 years ago
parent
commit
fba63b5f2a
  1. 32
      packages/nc-gui/components/smartsheet/Gallery.vue

32
packages/nc-gui/components/smartsheet/Gallery.vue

@ -214,24 +214,20 @@ watch(view, async (nextView) => {
</div>
<div class="flex flex-row w-full pb-3 pt-2 pl-2 items-center justify-start">
<div v-if="isRowEmpty(record, col)" class="h-3 bg-gray-200 px-5 rounded-lg"></div>
<template v-else>
<LazySmartsheetVirtualCell
v-if="isVirtualCol(col)"
v-model="record.row[col.title]"
:column="col"
:row="record"
/>
<LazySmartsheetCell
v-else
v-model="record.row[col.title]"
:column="col"
:edit-enabled="false"
:read-only="true"
/>
</template>
<LazySmartsheetVirtualCell
v-if="isVirtualCol(col)"
v-model="record.row[col.title]"
:column="col"
:row="record"
/>
<LazySmartsheetCell
v-else
v-model="record.row[col.title]"
:column="col"
:edit-enabled="false"
:read-only="true"
/>
</div>
</div>
</div>

Loading…
Cancel
Save