Browse Source

fix(gui): Disable preview as for low-privilege users

fix #170

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/341/head
Pranav C 3 years ago
parent
commit
0fc9b48d68
  1. 2
      packages/nc-gui/components/ProjectTreeView.vue

2
packages/nc-gui/components/ProjectTreeView.vue

@ -461,7 +461,7 @@
<!-- </v-list>--> <!-- </v-list>-->
<!-- <v-divider></v-divider>--> <!-- <v-divider></v-divider>-->
<v-list dense> <v-list dense v-if="_isUIAllowed('previewAs') || previewAs">
<v-list-item> <v-list-item>
<!-- Preview as --> <!-- Preview as -->
<span class="body-2 grey--text">{{ $t('treeview.preview_as') }}</span> <span class="body-2 grey--text">{{ $t('treeview.preview_as') }}</span>

Loading…
Cancel
Save