From 02a892f5f7bc71a92a5515dd15c64280d5dfbcbc Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Fri, 9 Feb 2024 10:38:10 -0500 Subject: [PATCH] fix filtering company and collection --- frontend/src/stores/roms.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/stores/roms.ts b/frontend/src/stores/roms.ts index 33652f89e..09be395ce 100644 --- a/frontend/src/stores/roms.ts +++ b/frontend/src/stores/roms.ts @@ -124,8 +124,8 @@ export default defineStore("roms", { if (galleryFilter.selectedCollection) { this.filterCollection(galleryFilter.selectedCollection); } - if (galleryFilter.selectedCollection) { - this.filterCompany(galleryFilter.selectedCollection); + if (galleryFilter.selectedCompany) { + this.filterCompany(galleryFilter.selectedCompany); } }, filterUnmatched() {