Browse Source

fix(gui-v2): dblclick not triggered on renmable menu item

pull/3232/head
braks 2 years ago
parent
commit
6079045be4
  1. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/RenameableMenuItem.vue

2
packages/nc-gui-v2/components/smartsheet/sidebar/RenameableMenuItem.vue

@ -147,7 +147,7 @@ function onStopEdit() {
<template> <template>
<a-menu-item <a-menu-item
class="select-none group !flex !items-center !my-0" class="select-none group !flex !items-center !my-0"
@dblclick.stop="isUIAllowed('virtualViewsCreateOrEdit') && onDblClick" @dblclick.stop="isUIAllowed('virtualViewsCreateOrEdit') && onDblClick()"
@click.stop="onClick" @click.stop="onClick"
> >
<div v-t="['a:view:open', { view: vModel.type }]" class="text-xs flex items-center w-full gap-2"> <div v-t="['a:view:open', { view: vModel.type }]" class="text-xs flex items-center w-full gap-2">

Loading…
Cancel
Save