diff --git a/entrypoint.sh b/entrypoint.sh index 95f6a53fc..0e63fdc2f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,6 +11,10 @@ ln -sf /app/romm/assets /app/frontend/assets/romm/assets # Define a signal handler to propagate termination signals function handle_termination() { echo "Terminating child processes..." + # Cleanup symlinks + rm -f /app/frontend/assets/romm/resources + rm -f /app/frontend/assets/romm/assets + # Kill all background jobs # trunk-ignore(shellcheck) kill -TERM $(jobs -p) 2>/dev/null } diff --git a/frontend/src/components/Gallery/AppBar/Base.vue b/frontend/src/components/Gallery/AppBar/Base.vue index 51e1dd605..8179dadfb 100644 --- a/frontend/src/components/Gallery/AppBar/Base.vue +++ b/frontend/src/components/Gallery/AppBar/Base.vue @@ -1,13 +1,10 @@ - diff --git a/frontend/src/components/Gallery/AppBar/Collection/Base.vue b/frontend/src/components/Gallery/AppBar/Collection/Base.vue index 26b0f81bb..d62f401ed 100644 --- a/frontend/src/components/Gallery/AppBar/Collection/Base.vue +++ b/frontend/src/components/Gallery/AppBar/Collection/Base.vue @@ -5,16 +5,17 @@ import RAvatar from "@/components/common/Collection/RAvatar.vue"; import storeNavigation from "@/stores/navigation"; import storeRoms from "@/stores/roms"; import { storeToRefs } from "pinia"; -import { computed } from "vue"; +import { useDisplay } from "vuetify"; // Props +const { xs } = useDisplay(); const navigationStore = storeNavigation(); const romsStore = storeRoms(); const { currentCollection } = storeToRefs(romsStore); diff --git a/frontend/src/views/Gallery/Search.vue b/frontend/src/views/Gallery/Search.vue index 7fc1f4e12..28ffaecb0 100644 --- a/frontend/src/views/Gallery/Search.vue +++ b/frontend/src/views/Gallery/Search.vue @@ -144,6 +144,7 @@ function onScroll() { } onMounted(async () => { + emitter?.emit("filterRoms", null); scrolledToTop.value = true; window.addEventListener("scroll", onScroll); });