feat: add placeholder content to right panel when no asset selected

This commit is contained in:
Alexander Brown
2026-01-18 00:52:46 -08:00
parent 1ea0d7fa63
commit feadad506f
2 changed files with 7 additions and 0 deletions

View File

@@ -2399,6 +2399,7 @@
},
"modelInfo": {
"title": "Model Info",
"selectModelPrompt": "Select a model to see its information",
"basicInfo": "Basic Info",
"displayName": "Display Name",
"fileName": "File Name",

View File

@@ -68,6 +68,12 @@
<template #rightPanel>
<ModelInfoPanel v-if="focusedAsset" :asset="focusedAsset" :cache-key />
<div
v-else
class="flex h-full items-center justify-center break-words p-6 text-center text-muted"
>
{{ $t('assetBrowser.modelInfo.selectModelPrompt') }}
</div>
</template>
</BaseModalLayout>
</template>