Browse Source

fix(nc-gui): row warning lint issue

pull/9958/head
Ramesh Mane 5 days ago
parent
commit
de06b3ef2a
  1. 5
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
  2. 8
      packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue

5
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -620,8 +620,8 @@ watch(activeAiTab, (newValue) => {
<template> <template>
<div <div
ref="editOrAddRef"
v-if="!warningVisible" v-if="!warningVisible"
ref="editOrAddRef"
class="overflow-auto nc-scrollbar-md" class="overflow-auto nc-scrollbar-md"
:class="{ :class="{
'bg-white max-h-[max(80vh,500px)]': !props.fromTableExplorer, 'bg-white max-h-[max(80vh,500px)]': !props.fromTableExplorer,
@ -1306,9 +1306,8 @@ watch(activeAiTab, (newValue) => {
<template v-else> <template v-else>
<div <div
class="flex items-center justify-between gap-2 empty:hidden" class="flex items-center justify-between gap-2 empty:hidden sticky bottom-0 z-10 bg-white px-5 pb-5 -mx-5"
:class="{ :class="{
'sticky bottom-0 z-10 bg-white px-5 pb-5 -mx-5': true,
'border-t-1 border-nc-border-gray-medium pt-3': isScrollEnabled, 'border-t-1 border-nc-border-gray-medium pt-3': isScrollEnabled,
}" }"
> >

8
packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue

@ -2139,7 +2139,7 @@ watch(vSelectedAllRecords, (selectedAll) => {
:row="row" :row="row"
> >
<template #default="{ state }"> <template #default="{ state }">
<tr <div
v-if="row.rowMeta?.isValidationFailed" v-if="row.rowMeta?.isValidationFailed"
:style="{ :style="{
top: `${(index + 1) * rowHeight - 6}px`, top: `${(index + 1) * rowHeight - 6}px`,
@ -2160,8 +2160,8 @@ watch(vSelectedAllRecords, (selectedAll) => {
<GeneralIcon icon="info" class="w-4 h-4 text-gray-800" /> <GeneralIcon icon="info" class="w-4 h-4 text-gray-800" />
</NcTooltip> </NcTooltip>
</div> </div>
</tr> </div>
<tr <div
v-if="row.rowMeta?.isRowOrderUpdated" v-if="row.rowMeta?.isRowOrderUpdated"
:style="{ :style="{
top: `${(index + 1) * rowHeight - 6}px`, top: `${(index + 1) * rowHeight - 6}px`,
@ -2180,7 +2180,7 @@ watch(vSelectedAllRecords, (selectedAll) => {
<GeneralIcon icon="info" class="w-4 h-4 text-gray-800" /> <GeneralIcon icon="info" class="w-4 h-4 text-gray-800" />
</NcTooltip> </NcTooltip>
</div> </div>
</tr> </div>
<tr <tr
class="nc-grid-row transition transition-opacity duration-500 opacity-100 !xs:h-14" class="nc-grid-row transition transition-opacity duration-500 opacity-100 !xs:h-14"
:style="{ :style="{

Loading…
Cancel
Save