Browse Source

chore(gui-v2): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2819/head
Pranav C 2 years ago
parent
commit
ca3738e277
  1. 1
      packages/nc-gui-v2/components/smartsheet-toolbar/LockMenu.vue
  2. 28
      packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue

1
packages/nc-gui-v2/components/smartsheet-toolbar/LockMenu.vue

@ -96,7 +96,6 @@ export default {
</div> </div>
</div> </div>
</template> </template>
</a-dropdown> </a-dropdown>
</template> </template>

28
packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue

@ -1,10 +1,10 @@
<script lang="ts" setup> <script lang="ts" setup>
import MdiFlashIcon from "~icons/mdi/flash-outline"; import MdiFlashIcon from '~icons/mdi/flash-outline'
import MdiMenuDownIcon from "~icons/mdi/menu-down"; import MdiMenuDownIcon from '~icons/mdi/menu-down'
import MdiDownloadIcon from "~icons/mdi/download-outline"; import MdiDownloadIcon from '~icons/mdi/download-outline'
import MdiUploadIcon from "~icons/mdi/upload-outline"; import MdiUploadIcon from '~icons/mdi/upload-outline'
import MdiHookIcon from "~icons/mdi/hook"; import MdiHookIcon from '~icons/mdi/hook'
import MdiViewListIcon from "~icons/mdi/view-list-outline"; import MdiViewListIcon from '~icons/mdi/view-list-outline'
</script> </script>
<template> <template>
@ -13,29 +13,29 @@ import MdiViewListIcon from "~icons/mdi/view-list-outline";
<div class="flex gap-1 align-center"> <div class="flex gap-1 align-center">
<MdiFlashIcon class="text-grey" /> <MdiFlashIcon class="text-grey" />
<!-- More --> <!-- More -->
{{ $t("general.more") }} {{ $t('general.more') }}
<MdiMenuDownIcon class="text-grey" /> <MdiMenuDownIcon class="text-grey" />
</div> </div>
</a-button> </a-button>
<template #overlay> <template #overlay>
<div class=" bg-white shadow"> <div class="bg-white shadow">
<div> <div>
<div class="nc-menu-item" @click.stop> <div class="nc-menu-item" @click.stop>
<MdiDownloadIcon /> <MdiDownloadIcon />
<!-- Download as CSV --> <!-- Download as CSV -->
{{ $t("activity.downloadCSV") }} {{ $t('activity.downloadCSV') }}
</div> </div>
<div class="nc-menu-item" @click.stop> <div class="nc-menu-item" @click.stop>
<MdiUploadIcon /> <MdiUploadIcon />
<!-- Upload CSV --> <!-- Upload CSV -->
{{ $t("activity.uploadCSV") }} {{ $t('activity.uploadCSV') }}
</div> </div>
<div class="nc-menu-item" @click.stop> <div class="nc-menu-item" @click.stop>
<MdiViewListIcon /> <MdiViewListIcon />
<!-- Shared View List --> <!-- Shared View List -->
{{ $t("activity.listSharedView") }} {{ $t('activity.listSharedView') }}
</div> </div>
<div class="nc-menu-item" @click.stop> <div class="nc-menu-item" @click.stop>
<MdiHookIcon /> <MdiHookIcon />
<!-- todo: i18n --> <!-- todo: i18n -->
Webhook Webhook

Loading…
Cancel
Save