Browse Source

chore(nc-gui): lint

pull/6954/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
783738ab21
  1. 6
      packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

6
packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

@ -264,13 +264,13 @@ function onStopEdit() {
<template #overlay> <template #overlay>
<NcMenu class="min-w-27" :data-testid="`view-sidebar-view-actions-${vModel.alias || vModel.title}`"> <NcMenu class="min-w-27" :data-testid="`view-sidebar-view-actions-${vModel.alias || vModel.title}`">
<NcMenuItem @click.stop="onDblClick"> <NcMenuItem @click.stop="onDblClick">
<div class="flex gap-2 items-center" v-e="['c:view:rename']"> <div v-e="['c:view:rename']" class="flex gap-2 items-center">
<GeneralIcon icon="edit" /> <GeneralIcon icon="edit" />
<div class="-ml-0.25">{{ $t('general.rename') }}</div> <div class="-ml-0.25">{{ $t('general.rename') }}</div>
</div> </div>
</NcMenuItem> </NcMenuItem>
<NcMenuItem @click.stop="onDuplicate"> <NcMenuItem @click.stop="onDuplicate">
<div class="flex gap-2 items-center" v-e="['c:view:duplicate']"> <div v-e="['c:view:duplicate']" class="flex gap-2 items-center">
<GeneralIcon icon="duplicate" class="nc-view-copy-icon" /> <GeneralIcon icon="duplicate" class="nc-view-copy-icon" />
{{ $t('general.duplicate') }} {{ $t('general.duplicate') }}
</div> </div>
@ -279,7 +279,7 @@ function onStopEdit() {
<NcDivider /> <NcDivider />
<NcMenuItem -if="!vModel.is_default" class="!text-red-500 !hover:bg-red-50" @click.stop="onDelete"> <NcMenuItem -if="!vModel.is_default" class="!text-red-500 !hover:bg-red-50" @click.stop="onDelete">
<div class="flex gap-2 items-center" v-e="['c:view:delete']"> <div v-e="['c:view:delete']" class="flex gap-2 items-center">
<GeneralIcon icon="delete" class="text-sm nc-view-delete-icon" /> <GeneralIcon icon="delete" class="text-sm nc-view-delete-icon" />
<div class="-ml-0.25">{{ $t('general.delete') }}</div> <div class="-ml-0.25">{{ $t('general.delete') }}</div>
</div> </div>

Loading…
Cancel
Save