fix: incorrect query arg in hub link

This commit is contained in:
HugoCasa
2025-11-05 12:55:42 +01:00
parent ac84bae8f1
commit 344fc9645a
2 changed files with 2 additions and 2 deletions

View File

@@ -1119,7 +1119,7 @@ pub async fn pick_hub_script_by_path(
) -> impl IntoResponse {
let path_str = path.to_path();
// Extract version_id from path (format: {version_id}/{app}/{summary})
// Extract version_id from path (format: {hub}/{version_id}/{summary})
let version_id = path_str.split('/').nth(1).unwrap_or("");
let hub_base_url = HUB_BASE_URL.read().await.clone();

View File

@@ -117,7 +117,7 @@
? DEFAULT_HUB_BASE_URL
: $hubBaseUrlStore
window.open(
`${targetHubBaseUrl}/from_version/${hubVersionId}?report-issue=${hubVersionId}`,
`${targetHubBaseUrl}/from_version/${hubVersionId}?report_issue=${hubVersionId}`,
'_blank'
)
}}