misc: fixes.

This commit is contained in:
Darshan
2025-10-09 17:57:19 +05:30
parent 9d1f4ce527
commit ea665d7cc5
2 changed files with 2 additions and 3 deletions
@@ -37,13 +37,12 @@
const basePath = $derived.by(() => {
const entityType = terminology.entity.lower.singular;
const entityId = page.params[entityType];
return withPath(
resolveRoute(
`/(console)/project-[region]-[project]/databases/database-[database]`,
page.params
),
`${entityType}-${entityId}`
`${entityType}-${entity.$id}`
);
});
@@ -294,7 +294,7 @@
{@render emptyIndexesSheetView(() => (showCreateIndex = true))}
{/if}
{:else}
{@render emptyEntitiesSheetView()}
{@render emptyEntitiesSheetView?.()}
{/if}
{#if selectedIndexes.length > 0}