Browse Source

fix(gui-v2): remove incorrect isUIAllowed

pull/3258/head
Wing-Kam Wong 2 years ago
parent
commit
03f5c77058
  1. 2
      packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue

2
packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue

@ -311,7 +311,7 @@ const onMenuClose = (visible: boolean) => {
</a-sub-menu>
<template v-if="signedIn && !isSharedBase">
<a-sub-menu v-if="isUIAllowed('previewAs')" key="account">
<a-sub-menu key="account">
<template #title>
<div class="nc-project-menu-item group">
<MdiAccount class="group-hover:text-accent" />

Loading…
Cancel
Save