Browse Source

fix(gui-v2): use correct route names in sharebase btn and remove font color

pull/3280/head
braks 2 years ago
parent
commit
890b31c018
  1. 7
      packages/nc-gui-v2/components/general/ShareBaseButton.vue

7
packages/nc-gui-v2/components/general/ShareBaseButton.vue

@ -14,15 +14,16 @@ const { isUIAllowed } = useUIPermission()
v-if=" v-if="
isUIAllowed('newUser') && isUIAllowed('newUser') &&
route.name !== 'index' && route.name !== 'index' &&
route.name !== 'project-index-create' && route.name !== 'index-index-create' &&
route.name !== 'project-index-create-external' && route.name !== 'index-index-create-external' &&
route.name !== 'index-user-index' route.name !== 'index-user-index'
" "
@click="showUserModal = true" @click="showUserModal = true"
> >
<div class="text-white flex items-center space-x-1"> <div class="flex items-center space-x-1">
<MdiAccountPlusOutline class="mr-1 nc-share-base" /> <MdiAccountPlusOutline class="mr-1 nc-share-base" />
<!-- todo: i18n <div>{{ $t('activity.share') }}</div> --> <!-- todo: i18n <div>{{ $t('activity.share') }}</div> -->
<div>{{ $t('activity.inviteTeam') }}</div> <div>{{ $t('activity.inviteTeam') }}</div>
</div> </div>
</div> </div>

Loading…
Cancel
Save