Browse Source

fix(nc-gui): Fixed issue with create data source btn issue

pull/6561/head
Muhammed Mustafa 1 year ago
parent
commit
f0a156d8d7
  1. 2
      packages/nc-gui/components/project/AllTables.vue
  2. 1
      packages/nc-gui/lib/acl.ts

2
packages/nc-gui/components/project/AllTables.vue

@ -9,7 +9,7 @@ const { openedProject } = storeToRefs(useBases())
const isNewBaseModalOpen = ref(false)
const isDataSourceLimitReached = computed(() => Number(openedProject.value?.bases?.length) > 1)
const isDataSourceLimitReached = computed(() => Number(openedProject.value?.sources?.length) > 1)
const { isUIAllowed } = useRoles()

1
packages/nc-gui/lib/acl.ts

@ -70,6 +70,7 @@ const rolePermissions = {
csvImport: true,
baseRename: true,
baseDuplicate: true,
sourceCreate: true,
},
},
[ProjectRoles.EDITOR]: {

Loading…
Cancel
Save