mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user