Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"node": ">=24"
},
"dependencies": {
"@lakekeeper/console-components": "github:lakekeeper/console-components#v0.3.6",
"@lakekeeper/console-components": "github:lakekeeper/console-components#v0.3.7",
"@mdi/font": "7.4.47",
"json-bigint": "^1.0.0",
"oidc-client-ts": "^3.3.0",
Expand Down
1 change: 1 addition & 0 deletions src/pages/warehouse/[id].namespace.[nsid].table.[tid].vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
v-if="warehouse"
:warehouse-id="params.id"
:warehouse-name="warehouse.name"
:active-namespace-path="namespacePath"
@navigate="handleNavigate" />
</div>

Expand Down
6 changes: 6 additions & 0 deletions src/pages/warehouse/[id].namespace.[nsid].view.[vid].vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
v-if="warehouseName"
:warehouse-id="params.id"
:warehouse-name="warehouseName"
:active-namespace-path="namespacePath"
@navigate="handleNavigate" />
</div>

Expand Down Expand Up @@ -209,6 +210,11 @@ const params = computed(() => ({
vid: (route.params as { vid: string }).vid,
}));

const namespacePath = computed(() => {
// eslint-disable-next-line no-control-regex
return params.value.nsid.replace(/\x1F/g, '.');
});

// Use composable for view permissions with reactive warehouse id
const warehouseId = computed(() => params.value.id);
const { showTasksTab } = useViewPermissions(viewId, warehouseId);
Expand Down
2 changes: 2 additions & 0 deletions src/pages/warehouse/[id].namespace.[nsid].vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
v-if="warehouseName"
:warehouse-id="params.id"
:warehouse-name="warehouseName"
:active-namespace-path="namespacePath"
@navigate="handleNavigate" />
</div>

Expand Down Expand Up @@ -261,6 +262,7 @@ async function loadNamespaceMetadata() {
// Handle table creation - force refresh of table list
function onTableCreated() {
tableListKey.value++; // Increment key to force re-render of NamespaceTables
visual.refreshNavTree(params.value.id, namespacePath.value);
}

// Load namespace metadata on mount to get namespaceId for permissions
Expand Down
Loading