<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>