diff --git a/frontend/src/components/common/Game/Dialog/EditRom.vue b/frontend/src/components/common/Game/Dialog/EditRom.vue index d6e28e0f9..213d186cd 100644 --- a/frontend/src/components/common/Game/Dialog/EditRom.vue +++ b/frontend/src/components/common/Game/Dialog/EditRom.vue @@ -6,6 +6,7 @@ import storeGalleryView from "@/stores/galleryView"; import storeHeartbeat from "@/stores/heartbeat"; import storePlatforms from "@/stores/platforms"; import storeRoms, { type SimpleRom } from "@/stores/roms"; +import storeUpload from "@/stores/upload"; import type { Events } from "@/types/emitter"; import type { Emitter } from "mitt"; import { computed, inject, ref } from "vue"; @@ -27,6 +28,7 @@ const removeCover = ref(false); const manualFiles = ref([]); const platfotmsStore = storePlatforms(); const galleryViewStore = storeGalleryView(); +const uploadStore = storeUpload(); const emitter = inject>("emitter"); emitter?.on("showEditRomDialog", (romToEdit: UpdateRom | undefined) => { show.value = true; @@ -123,6 +125,7 @@ async function handleRomUpdate( async function uploadManuals() { show.value = false; + if (!rom.value) return; await romApi .uploadManuals({ diff --git a/frontend/src/components/common/Notifications/UploadProgress.vue b/frontend/src/components/common/Notifications/UploadProgress.vue index 3c0628c08..6dbef6efa 100644 --- a/frontend/src/components/common/Notifications/UploadProgress.vue +++ b/frontend/src/components/common/Notifications/UploadProgress.vue @@ -30,12 +30,12 @@ watch(files, (newList) => { absolute :location="xs ? 'bottom' : 'bottom right'" class="mb-4 mr-4" - color="tooltip" + color="toplayer" > - + @@ -82,12 +82,12 @@ watch(files, (newList) => { -
+