fix: show dbname instead of resource type in fork deletion modal

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Diego Imbert
2026-03-25 17:29:23 +01:00
parent fec09b6e3d
commit 61cb23f5ad
@@ -797,7 +797,9 @@
<div class="flex flex-col">
<span class="text-xs font-medium">{dt.name}</span>
<span class="text-2xs text-tertiary">
{dt.resourceType === 'instance' ? 'Instance' : 'Resource'} DB: {dt.resourcePath}
dbname: {dt.resourceType === 'instance'
? dt.resourcePath
: `${$workspaceStore?.replace(/-/g, '_')}__${dt.name}`}
</span>
</div>
<Toggle bind:checked={dt.dropOnDelete} options={{ right: 'Drop database' }} />