diff --git a/frontend/src/components/common/Game/Card/Base.vue b/frontend/src/components/common/Game/Card/Base.vue
index b58a4d49a..e2828c8e0 100644
--- a/frontend/src/components/common/Game/Card/Base.vue
+++ b/frontend/src/components/common/Game/Card/Base.vue
@@ -3,6 +3,7 @@ import type { SearchRomSchema } from "@/__generated__";
import ActionBar from "@/components/common/Game/Card/ActionBar.vue";
import GameCardFlags from "@/components/common/Game/Card/Flags.vue";
import Sources from "@/components/common/Game/Card/Sources.vue";
+import PlatformIcon from "@/components/common/Platform/Icon.vue";
import storeCollections from "@/stores/collections";
import storeDownload from "@/stores/download";
import storeGalleryView from "@/stores/galleryView";
@@ -22,6 +23,7 @@ const props = withDefaults(
pointerOnHover?: boolean;
titleOnFooter?: boolean;
showActionBar?: boolean;
+ showPlatformIcon?: boolean;
showFav?: boolean;
withBorder?: boolean;
withBorderRommAccent?: boolean;
@@ -34,6 +36,7 @@ const props = withDefaults(
pointerOnHover: true,
titleOnFooter: false,
showActionBar: false,
+ showPlatformIcon: false,
showFav: false,
withBorder: false,
withBorderRommAccent: false,
@@ -153,7 +156,22 @@ onMounted(() => {
-
+
+
-
{
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
}
-.append-inner {
+.append-inner-left {
+ bottom: 0rem;
+ left: 0rem;
+}
+.label-platform {
+ right: 0.2rem;
+ top: 0.1rem;
+}
+.append-inner-right {
bottom: 0rem;
right: 0rem;
}
diff --git a/frontend/src/components/common/Game/Dialog/SearchRom.vue b/frontend/src/components/common/Game/Dialog/SearchRom.vue
index 7790338c7..16277ca38 100644
--- a/frontend/src/components/common/Game/Dialog/SearchRom.vue
+++ b/frontend/src/components/common/Game/Dialog/SearchRom.vue
@@ -1,6 +1,5 @@
-
diff --git a/frontend/src/components/common/RDialog.vue b/frontend/src/components/common/RDialog.vue
index 5b82c3174..2c5efd799 100644
--- a/frontend/src/components/common/RDialog.vue
+++ b/frontend/src/components/common/RDialog.vue
@@ -1,10 +1,9 @@
@@ -33,7 +34,7 @@ const editable = ref(false);
>("emitter");
-const configStore = storeConfig();
const authStore = storeAuth();
-const platformsVersions = configStore.value.PLATFORMS_VERSIONS;
+const configStore = storeConfig();
+const { config } = storeToRefs(configStore);
const editable = ref(false);
@@ -33,7 +34,7 @@ const editable = ref(false);
{
- return { value: {} as ConfigResponse };
+ return {
+ config: {
+ EXCLUDED_PLATFORMS: [],
+ EXCLUDED_SINGLE_EXT: [],
+ EXCLUDED_SINGLE_FILES: [],
+ EXCLUDED_MULTI_FILES: [],
+ EXCLUDED_MULTI_PARTS_EXT: [],
+ EXCLUDED_MULTI_PARTS_FILES: [],
+ PLATFORMS_BINDING: {},
+ PLATFORMS_VERSIONS: {},
+ ROMS_FOLDER_NAME: "",
+ FIRMWARE_FOLDER_NAME: "",
+ HIGH_PRIO_STRUCTURE_PATH: "",
+ } as ConfigResponse,
+ };
},
actions: {
set(data: ConfigResponse) {
- this.value = data;
+ this.config = data;
},
addPlatformBinding(fsSlug: string, slug: string) {
- this.value.PLATFORMS_BINDING[fsSlug] = slug;
+ this.config.PLATFORMS_BINDING[fsSlug] = slug;
},
removePlatformBinding(fsSlug: string) {
- delete this.value.PLATFORMS_BINDING[fsSlug];
+ delete this.config.PLATFORMS_BINDING[fsSlug];
},
addPlatformVersion(fsSlug: string, slug: string) {
- this.value.PLATFORMS_VERSIONS[fsSlug] = slug;
+ this.config.PLATFORMS_VERSIONS[fsSlug] = slug;
},
removePlatformVersion(fsSlug: string) {
- delete this.value.PLATFORMS_VERSIONS[fsSlug];
+ delete this.config.PLATFORMS_VERSIONS[fsSlug];
},
},
});
diff --git a/frontend/src/views/Gallery/Collection.vue b/frontend/src/views/Gallery/Collection.vue
index 5117b3122..e491d5001 100644
--- a/frontend/src/views/Gallery/Collection.vue
+++ b/frontend/src/views/Gallery/Collection.vue
@@ -1,16 +1,15 @@