Browse Source

fix: Show share button only in dashboard

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/350/head
Pranav C 3 years ago
parent
commit
e6e9a5627c
  1. 12
      packages/nc-gui/layouts/default.vue

12
packages/nc-gui/layouts/default.vue

@ -124,12 +124,6 @@
<v-toolbar-items class="hidden-sm-and-down"> <v-toolbar-items class="hidden-sm-and-down">
<div>
<x-btn v-if="_isUIAllowed('add-user')" @click="rolesTabAdd" small color="white" btn-class="primary--text">
<v-icon small class="mr-1">mdi-account-supervisor-outline</v-icon>
Share
</x-btn>
</div>
<!-- <x-icon iconClass="mr-4" v-if="isDashboard"--> <!-- <x-icon iconClass="mr-4" v-if="isDashboard"-->
@ -160,6 +154,12 @@
<template v-if="isDashboard"> <template v-if="isDashboard">
<div>
<x-btn v-if="_isUIAllowed('add-user')" @click="rolesTabAdd" small color="white" btn-class="primary--text">
<v-icon small class="mr-1">mdi-account-supervisor-outline</v-icon>
Share
</x-btn>
</div>
<!-- <github-button v-show="$store.state.isLoaded" class="mt-2 mr-md-2" href="https://github.com/nocodb/nocodb"--> <!-- <github-button v-show="$store.state.isLoaded" class="mt-2 mr-md-2" href="https://github.com/nocodb/nocodb"-->
<!-- data-color-scheme="no-preference: light; light: light; dark: light;" data-size="large"--> <!-- data-color-scheme="no-preference: light; light: light; dark: light;" data-size="large"-->
<!-- data-show-count="true" aria-label="Star nocodb/nocodb on GitHub">Star--> <!-- data-show-count="true" aria-label="Star nocodb/nocodb on GitHub">Star-->

Loading…
Cancel
Save