diff --git a/frontend/src/views/Gallery.vue b/frontend/src/views/Gallery.vue index 70a9caa65..2f449c190 100644 --- a/frontend/src/views/Gallery.vue +++ b/frontend/src/views/Gallery.vue @@ -18,14 +18,17 @@ const roms = ref([]) const gettingRoms = ref(false) const filter = storeFilter() const romsFiltered = ref([]) +const firmwares = ["firmware_base", "firmware_bios"] const galleryView = storeGalleryView() const route = useRoute() +const sections = ['roms', 'firmwares'] +const currentSection = ref('roms') // Event listeners bus const emitter = inject('emitter') emitter.on('filter', () => { filterRoms() }) -// Functions + function filterRoms() { romsFiltered.value = roms.value.filter(rom => { return normalizeString(rom.file_name).includes(filter.value) @@ -47,43 +50,75 @@ onBeforeRouteUpdate(async (to, _) => { fetchRoms(to.params.platform) }) + + + + - - + + + + + + + + + + + + + + + + + + + + + Feels cold here... mdi-emoticon-sad + + + + + + + + + + + - + + + {{ firmware }} + + - - - - - - - - - - - - - - Feels cold here... mdi-emoticon-sad - - - - - -