fix: download with deps is downloading all files

This commit is contained in:
tdgao
2026-07-08 14:07:32 -07:00
parent d1402edd1c
commit 9bbbfc1101
@@ -290,7 +290,7 @@ const selectedVersionDownloadFiles = computed<DownloadableFile[]>(() => {
if (!selectedVersion.value) return []
return selectedVersion.value.files
.filter((file) => file.file_type !== 'optional-resource-pack')
.filter((file) => file === selectedPrimaryFile.value || file.file_type === 'required-resource-pack')
.map((file) => ({
href: createProjectDownloadUrl(file.url, {
reason: props.downloadReason,