roms gallery routes fixed

This commit is contained in:
zurdi zurdo
2023-05-15 17:03:11 +02:00
parent b642ed8306
commit 97ea420af1
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ const props = defineProps(['rom', 'isHovering', 'hoverProps', 'size'])
<template>
<router-link
style="text-decoration: none; color: inherit;"
:to="`/platform/${$route.params.platform}/rom/${rom.id}`">
:to="`/platform/${$route.params.platform}/roms/${rom.id}`">
<v-img
:value="rom.id"
:key="rom.id"

View File

@@ -16,7 +16,7 @@ const emitter = inject('emitter')
<v-row no-gutters>
<v-col>
<v-list-item
:to="`/platform/${$route.params.platform}/rom/${rom.id}`"
:to="`/platform/${$route.params.platform}/roms/${rom.id}`"
:value="rom.id"
:key="rom.id">
<v-row class="text-subtitle-2 align-center">

View File

@@ -7,7 +7,7 @@ const platformIconNotFound = () => { platformIconUrl.value = '/assets/platforms/
</script>
<template>
<router-link style="text-decoration: none; color: inherit;" :to="`/platform/${platform.slug}`">
<router-link style="text-decoration: none; color: inherit;" :to="`/platform/${platform.slug}/roms`">
<v-hover v-slot="{ isHovering, props }">
<v-card v-bind="props" :class="{ 'on-hover': isHovering }" :elevation="isHovering ? 20 : 3">
<v-card-text>