Browse Source

fix(gui-v2): add @click.stop on toolbar buttons

pull/3179/head
Wing-Kam Wong 2 years ago
parent
commit
79adb0e350
  1. 6
      packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue

6
packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue

@ -39,15 +39,15 @@ const clickCount = $ref(0)
<div class="dot" />
</template>
<LockMenu v-if="isUIAllowed('view-type')" />
<LockMenu v-if="isUIAllowed('view-type')" @click.stop />
<div v-if="isUIAllowed('view-type')" class="dot" />
<Reload />
<Reload @click.stop />
<div class="dot" />
<AddRow v-if="isUIAllowed('xcDatatableEditable')" />
<AddRow v-if="isUIAllowed('xcDatatableEditable')" @click.stop />
<slot name="end" />
</div>

Loading…
Cancel
Save