26 lines
540 B
Vue
26 lines
540 B
Vue
<template>
|
|
<q-page padding>
|
|
<q-item
|
|
v-for="link in navlinks"
|
|
:key="link.name">
|
|
<q-btn
|
|
:icon="link.icon"
|
|
:color="link.color ? link.color : 'primary'"
|
|
size="1.25em"
|
|
:to="link.to"
|
|
:label="link.name"
|
|
rounded
|
|
class="full-width"
|
|
align="left" />
|
|
</q-item>
|
|
</q-page>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { enabledLinks } from 'src/router/navlinks';
|
|
|
|
const navlinks = enabledLinks.find(
|
|
(link) => link.name === 'Schedule'
|
|
)?.sublinks;
|
|
</script>
|