From a10f573a4cf8ea2cd2f6e02299341e6c31119514 Mon Sep 17 00:00:00 2001 From: tdgao Date: Fri, 3 Jul 2026 14:43:44 -0700 Subject: [PATCH] fix: dependencies not appearing when open modal second time --- .../ProjectDownloadModal/DownloadProject.vue | 4 +- .../ui/ProjectDownloadModal/index.vue | 39 ++++++++++++------- 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue index 78a0a5b1c5..eeb67522fa 100644 --- a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue @@ -485,8 +485,8 @@ watch( watch( () => props.resetKey, () => { - userSelectedGameVersion.value = null - userSelectedPlatform.value = null + userSelectedGameVersion.value = props.initialGameVersion + userSelectedPlatform.value = props.initialPlatform showAllVersions.value = defaultShowAllVersions() versionFilter.value = '' }, diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue index a5423594ce..27df2cd9e9 100644 --- a/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue @@ -1,14 +1,16 @@