Browse Source

refactor(gui-v2): close more action menu after menu item click

pull/2860/head
Pranav C 2 years ago committed by Pranav C
parent
commit
872851820c
  1. 4
      packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue

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

@ -102,7 +102,7 @@ const exportCsv = async () => {
<template #overlay> <template #overlay>
<div class="bg-white shadow"> <div class="bg-white shadow">
<div> <div>
<div class="nc-menu-item" @click.stop="exportCsv"> <div class="nc-menu-item" @click="exportCsv">
<MdiDownloadIcon /> <MdiDownloadIcon />
<!-- Download as CSV --> <!-- Download as CSV -->
{{ $t('activity.downloadCSV') }} {{ $t('activity.downloadCSV') }}
@ -112,7 +112,7 @@ const exportCsv = async () => {
<!-- Upload CSV --> <!-- Upload CSV -->
{{ $t('activity.uploadCSV') }} {{ $t('activity.uploadCSV') }}
</div> </div>
<div class="nc-menu-item" @click.stop="sharedViewListDlg = true"> <div class="nc-menu-item" @click="sharedViewListDlg = true">
<MdiViewListIcon /> <MdiViewListIcon />
<!-- Shared View List --> <!-- Shared View List -->
{{ $t('activity.listSharedView') }} {{ $t('activity.listSharedView') }}

Loading…
Cancel
Save