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>
<div
ref="editOrAddRef"
v-if="!warningVisible"
ref="editOrAddRef"
class="overflow-auto nc-scrollbar-md"
:class="{
'bg-white max-h-[max(80vh,500px)]': !props.fromTableExplorer,
@ -1306,9 +1306,8 @@ watch(activeAiTab, (newValue) => {
<template v-else>
<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="{
'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,
}"
>

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

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

Loading…
Cancel
Save