From 20182d18ee2b8505b88e4fb7749ec24489f86d2c Mon Sep 17 00:00:00 2001 From: zurdi zurdo Date: Wed, 15 Mar 2023 19:08:51 +0100 Subject: [PATCH] some design changes --- frontend/src/components/PlatformsBar.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/PlatformsBar.vue b/frontend/src/components/PlatformsBar.vue index f9214420c..2032d643f 100644 --- a/frontend/src/components/PlatformsBar.vue +++ b/frontend/src/components/PlatformsBar.vue @@ -8,6 +8,7 @@ import { useTheme } from "vuetify"; const platforms = ref([]) const backPort = import.meta.env.VITE_BACK_PORT const currentPlatformName = ref(localStorage.getItem('currentPlatformName') || "") +const currentPlatformSlug = ref(localStorage.getItem('currentPlatformSlug') || "") const scanOverwrite = ref(false) const scanning = ref(false) const gettingRomsFlag = ref(false) @@ -40,6 +41,7 @@ async function selectPlatform(platform){ localStorage.setItem('currentPlatformName', platform.name) emitter.emit('currentPlatform', platform.slug) currentPlatformName.value = platform.name + currentPlatformSlug.value = platform.slug } async function scan() { @@ -71,19 +73,20 @@ getPlatforms()