Browse Source

chore(gui-v2): use isUIAllowed from useUIPermission()

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
cd0580687b
  1. 4
      packages/nc-gui-v2/components/dashboard/TabView.vue

4
packages/nc-gui-v2/components/dashboard/TabView.vue

@ -11,9 +11,7 @@ import MdiRequestDataSourceIcon from '~icons/mdi/open-in-new'
import MdiAccountGroupIcon from '~icons/mdi/account-group' import MdiAccountGroupIcon from '~icons/mdi/account-group'
const { tabs, activeTab, closeTab } = useTabs() const { tabs, activeTab, closeTab } = useTabs()
// TODO: use useUIPermission when it's ready const { isUIAllowed } = useUIPermission()
// const { isUIAllowed } = useUIPermission()
const isUIAllowed = (x: string) => true
const tableCreateDialog = ref(false) const tableCreateDialog = ref(false)
const airtableImportDialog = ref(false) const airtableImportDialog = ref(false)
const fileImportDialog = ref(false) const fileImportDialog = ref(false)

Loading…
Cancel
Save