small improvements

This commit is contained in:
vabene1111
2024-12-08 17:16:38 +01:00
parent 01a4fb57df
commit da567a9d6c
6 changed files with 123 additions and 6 deletions

View File

@@ -0,0 +1,27 @@
<template>
<template v-if="route.name == 'ModelListPage'">
<v-divider></v-divider>
<v-list-item v-for="m in getListModels()"
:to="{ name: 'ModelListPage', params: {model: m.name} }">
<template #prepend>
<v-icon :icon="m.icon"></v-icon>
</template>
{{ $t(m.localizationKey) }}
</v-list-item>
</template>
</template>
<script setup lang="ts">
import {useRoute} from "vue-router";
import {getListModels} from "@/types/Models";
const route = useRoute()
</script>
<style scoped>
</style>