Browse Source

fix(nc-gui): close dropdown if a menu item is clicked

pull/4455/head
Wing-Kam Wong 2 years ago
parent
commit
381aa3e3e4
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue

2
packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue

@ -108,7 +108,7 @@ useMenuCloseOnEsc(open)
</a-button> </a-button>
<template #overlay> <template #overlay>
<a-menu class="ml-6 !text-sm !px-0 !py-2 !rounded" data-testid="toolbar-actions"> <a-menu class="ml-6 !text-sm !px-0 !py-2 !rounded" data-testid="toolbar-actions" @click="open = false">
<a-menu-item-group> <a-menu-item-group>
<a-sub-menu <a-sub-menu
v-if="isUIAllowed('view-type')" v-if="isUIAllowed('view-type')"

Loading…
Cancel
Save