Temporarily disables the realtime dashboard navigation option by commenting out its TabsTrigger component in the navigation menu. This indicates a planned feature or work in progress.
31 lines
717 B
Vue
31 lines
717 B
Vue
<script setup>
|
|
const route = useRoute()
|
|
</script>
|
|
|
|
<template>
|
|
<section class="flex justify-between">
|
|
<Tabs
|
|
v-if="route.path !== '/dashboard/link'"
|
|
:default-value="route.path"
|
|
@update:model-value="navigateTo"
|
|
>
|
|
<TabsList>
|
|
<TabsTrigger
|
|
value="/dashboard/links"
|
|
>
|
|
{{ $t('nav.links') }}
|
|
</TabsTrigger>
|
|
<TabsTrigger value="/dashboard/analysis">
|
|
{{ $t('nav.analysis') }}
|
|
</TabsTrigger>
|
|
<!-- <TabsTrigger value="/dashboard/realtime">
|
|
{{ $t('nav.realtime') }}
|
|
</TabsTrigger> -->
|
|
</TabsList>
|
|
</Tabs>
|
|
<slot name="left" />
|
|
<div>
|
|
<slot />
|
|
</div>
|
|
</section>
|
|
</template>
|