Browse Source

fix(nc-gui): add missing v-else condition

pull/9958/head
Ramesh Mane 6 days ago
parent
commit
788df21b24
  1. 18
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

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

@ -1254,7 +1254,12 @@ watch(activeAiTab, (newValue) => {
</Transition>
</template>
<a-form-item v-if="enableDescription && !aiAutoSuggestMode">
<a-form-item
v-if="enableDescription && !aiAutoSuggestMode"
:class="{
'!pb-4': embedMode,
}"
>
<div class="flex gap-3 text-gray-800 h-7 mb-1 items-center justify-between">
<span class="text-[13px]">
{{ $t('labels.description') }}
@ -1281,8 +1286,13 @@ watch(activeAiTab, (newValue) => {
</a-form-item>
<template v-if="props.fromTableExplorer">
<a-form-item>
<NcButton v-if="!enableDescription" size="small" type="text" @click.stop="triggerDescriptionEnable">
<a-form-item
v-if="!enableDescription"
:class="{
'!pb-4': embedMode,
}"
>
<NcButton size="small" type="text" @click.stop="triggerDescriptionEnable">
<div class="flex !text-gray-700 items-center gap-2">
<GeneralIcon icon="plus" class="h-4 w-4" />
@ -1294,6 +1304,7 @@ watch(activeAiTab, (newValue) => {
</a-form-item>
</template>
<template v-else>
<div
class="flex items-center justify-between gap-2 empty:hidden"
:class="{
@ -1346,6 +1357,7 @@ watch(activeAiTab, (newValue) => {
</a-form-item>
</div>
</template>
</template>
</a-form>
</div>
</template>

Loading…
Cancel
Save