Browse Source

Merge pull request #3258 from nocodb/fix/gui-v2-ui-permission

fix(gui-v2): remove incorrect isUIAllowed
pull/3254/head
Raju Udava 2 years ago committed by GitHub
parent
commit
45dd43051d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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> </a-sub-menu>
<template v-if="signedIn && !isSharedBase"> <template v-if="signedIn && !isSharedBase">
<a-sub-menu v-if="isUIAllowed('previewAs')" key="account"> <a-sub-menu key="account">
<template #title> <template #title>
<div class="nc-project-menu-item group"> <div class="nc-project-menu-item group">
<MdiAccount class="group-hover:text-accent" /> <MdiAccount class="group-hover:text-accent" />

Loading…
Cancel
Save