mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 16:16:44 +00:00
feat: add back to base button in non base routes
This commit is contained in:
@@ -14,6 +14,8 @@ const { loadCollaborators } = workspaceStore
|
||||
|
||||
const { isFromIntegrationPage, integrationPaginationData, activeViewTab, loadIntegrations } = useProvideIntegrationViewStore()
|
||||
|
||||
const { shouldShow: btbShouldShow } = useBackToBase()
|
||||
|
||||
const currentWorkspace = computedAsync(async () => {
|
||||
await loadRoles(undefined, {}, _activeWorkspace.value?.id)
|
||||
return _activeWorkspace.value
|
||||
@@ -64,7 +66,11 @@ onBeforeMount(() => {
|
||||
{{ $t('general.integrations') }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<DashboardBackToBaseBreadcrumbVariant />
|
||||
|
||||
<NcTabs v-model:active-key="activeViewTab">
|
||||
<template #leftExtra>
|
||||
<div class="w-3"></div>
|
||||
@@ -77,7 +83,7 @@ onBeforeMount(() => {
|
||||
{{ $t('general.integrations') }}
|
||||
</div>
|
||||
</template>
|
||||
<div class="h-[calc(100vh-92px)]">
|
||||
<div :class="btbShouldShow ? 'h-[calc(100vh-128px)]' : 'h-[calc(100vh-92px)]'">
|
||||
<WorkspaceIntegrationsTab show-filter />
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
@@ -100,7 +106,7 @@ onBeforeMount(() => {
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="h-[calc(100vh-92px)] p-6">
|
||||
<div :class="[btbShouldShow ? 'h-[calc(100vh-128px)]' : 'h-[calc(100vh-92px)]', 'p-6']">
|
||||
<WorkspaceIntegrationsConnectionsTab />
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
|
||||
Reference in New Issue
Block a user