Browse Source

Merge pull request #3232 from nocodb/fix/renamable-item

fix(gui-v2): dblclick not triggered on renmable menu item
pull/3238/head
Raju Udava 2 years ago committed by GitHub
parent
commit
8fa51df100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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