fix: use getAssetFilename in ModelInfoPanel filename field

The filename field displayed asset.name instead of the actual file
path from user_metadata.filename, causing a mismatch with other
parts of the UI that correctly use getAssetFilename().
This commit is contained in:
dante01yoon
2026-04-03 15:29:29 +09:00
parent 9fafc4e30f
commit db1268d21e

View File

@@ -32,7 +32,9 @@
</div>
</ModelInfoField>
<ModelInfoField :label="t('assetBrowser.modelInfo.fileName')">
<span class="break-all text-muted-foreground">{{ asset.name }}</span>
<span class="break-all text-muted-foreground">{{
getAssetFilename(asset)
}}</span>
</ModelInfoField>
<ModelInfoField
v-if="sourceUrl"
@@ -232,6 +234,7 @@ import {
getAssetBaseModels,
getAssetDescription,
getAssetDisplayName,
getAssetFilename,
getAssetModelType,
getAssetSourceUrl,
getAssetTriggerPhrases,