Browse Source

fix(gui-v2): add isUIAllowed('virtualViewsCreateOrEdit')

pull/3087/head
Wing-Kam Wong 2 years ago
parent
commit
e1f979e100
  1. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/index.vue

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

@ -105,7 +105,7 @@ function onCreate(view: GridType | FormType | KanbanType | GalleryType) {
<Toolbar v-else class="py-3 px-2 max-w-[50px] flex !flex-col-reverse gap-4 items-center mt-[-1px]">
<template #start>
<a-tooltip placement="left">
<a-tooltip v-if="isUIAllowed('virtualViewsCreateOrEdit')" placement="left">
<template #title> {{ $t('objects.webhooks') }}</template>
<div class="nc-sidebar-right-item hover:after:bg-gray-300">

Loading…
Cancel
Save