mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
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:
@@ -116,7 +116,7 @@
|
||||
<div class="flex justify-between py-1">
|
||||
<span class="text-slate-400">下载源</span>
|
||||
<span class="font-medium text-slate-900 dark:text-white">{{
|
||||
download.source || "APM Store"
|
||||
download.origin === "spark" ? "Spark Store" : "APM Store"
|
||||
}}</span>
|
||||
</div>
|
||||
<div v-if="download.startTime" class="flex justify-between py-1">
|
||||
|
||||
Reference in New Issue
Block a user