fix: correctly display download source based on app origin

When downloading applications, the download source was incorrectly
hardcoded to always show "APM Store" in the DownloadDetail component.
This changes it to use the `download.origin` property to accurately
display either "Spark Store" or "APM Store" based on the application's
origin, without altering any underlying download logic.
This commit is contained in:
vmomenv
2026-03-12 09:12:38 +00:00
parent 006a5df550
commit 16066d0b5f

View File

@@ -116,7 +116,7 @@
<div class="flex justify-between py-1"> <div class="flex justify-between py-1">
<span class="text-slate-400">下载源</span> <span class="text-slate-400">下载源</span>
<span class="font-medium text-slate-900 dark:text-white">{{ <span class="font-medium text-slate-900 dark:text-white">{{
download.source || "APM Store" download.origin === "spark" ? "Spark Store" : "APM Store"
}}</span> }}</span>
</div> </div>
<div v-if="download.startTime" class="flex justify-between py-1"> <div v-if="download.startTime" class="flex justify-between py-1">