multirom downloads all parts by default

This commit is contained in:
zurdi
2023-07-28 17:56:06 +02:00
parent 0b2f843ab7
commit 2cfbd48022
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ export async function fetchRomApi(platform, rom) {
}
export async function downloadRomApi(rom, files) {
if(files != undefined && files.length==0){files=undefined}; // Force to download all multirom-parts when no part is selected in the selector
const downloadStore = useDownloadStore();
downloadStore.add(rom.file_name);

View File

@@ -25,7 +25,7 @@ const dialogSearchRom = ref(false)
const dialogEditRom = ref(false)
const dialogDeleteRom = ref(false)
const deleteFromFs = ref(false)
const filesToDownload = ref([])
const filesToDownload = ref(undefined)
const tab = ref('details')
const downloadUrl = ref(undefined)
const { xs, mdAndDown, lgAndUp } = useDisplay()