diff --git a/opal-ui/src/components/datasource/DatasourceTables.vue b/opal-ui/src/components/datasource/DatasourceTables.vue index 6bc8e1406b..e15b53cc51 100644 --- a/opal-ui/src/components/datasource/DatasourceTables.vue +++ b/opal-ui/src/components/datasource/DatasourceTables.vue @@ -22,12 +22,11 @@ size="sm" > - + {{ $t('add_table') }} - {{ $t('add_tables') }} @@ -61,7 +60,7 @@ { const subjects = ref([] as Subject[]); const acls = ref([] as Acl[]); + const isReady = computed(() => summary.value?.datasourceStatus === ProjectDatasourceStatusDto.READY); + function reset() { projects.value = []; project.value = {} as ProjectDto; @@ -396,6 +398,7 @@ export const useProjectsStore = defineStore('projects', () => { perms, subjects, acls, + isReady, initProjects, initProject, refreshProject,