Browse Source

fix(nc-gui): runtime directive warnings in ExpandedFormComment

pull/6954/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
5f98238b0f
  1. 7
      packages/nc-gui/components/smartsheet/expanded-form/index.vue

7
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -543,14 +543,15 @@ export default {
<NcDivider v-if="isUIAllowed('dataEdit') && !isNew" /> <NcDivider v-if="isUIAllowed('dataEdit') && !isNew" />
<NcMenuItem <NcMenuItem
v-if="isUIAllowed('dataEdit') && !isNew" v-if="isUIAllowed('dataEdit') && !isNew"
v-e="['c:row-expand:delete']"
class="!text-red-500 !hover:bg-red-50" class="!text-red-500 !hover:bg-red-50"
@click="!isNew && onDeleteRowClick()" @click="!isNew && onDeleteRowClick()"
> >
<component :is="iconMap.delete" data-testid="nc-expanded-form-delete" class="cursor-pointer nc-delete-row" /> <div v-e="['c:row-expand:delete']" data-testid="nc-expanded-form-delete" class="flex gap-2 items-center">
<span class="-ml-0.5"> <component :is="iconMap.delete" class="cursor-pointer nc-delete-row" />
<span class="-ml-0.25">
{{ $t('activity.deleteRecord') }} {{ $t('activity.deleteRecord') }}
</span> </span>
</div>
</NcMenuItem> </NcMenuItem>
</NcMenu> </NcMenu>
</template> </template>

Loading…
Cancel
Save