mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
add format check, update prettier rules, apply rules consistently
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { type Component } from 'vue';
|
||||
import NavigationSidebarLink from '@/Components/NavigationSidebarLink.vue';
|
||||
import {
|
||||
CollapsibleContent,
|
||||
CollapsibleRoot,
|
||||
CollapsibleTrigger,
|
||||
} from 'radix-vue';
|
||||
import { CollapsibleContent, CollapsibleRoot, CollapsibleTrigger } from 'radix-vue';
|
||||
import { useSessionStorage } from '@vueuse/core';
|
||||
import { ChevronRightIcon } from '@heroicons/vue/20/solid';
|
||||
|
||||
@@ -14,7 +10,7 @@ const props = defineProps<{
|
||||
icon?: Component;
|
||||
current?: boolean;
|
||||
href: string;
|
||||
subItems?: { title: string; route: string, show: boolean }[];
|
||||
subItems?: { title: string; route: string; show: boolean }[];
|
||||
}>();
|
||||
|
||||
const open = useSessionStorage('nav-collapse-state-' + props.title, true);
|
||||
@@ -69,9 +65,7 @@ const open = useSessionStorage('nav-collapse-state-' + props.title, true);
|
||||
v-if="subItem.show"
|
||||
:title="subItem.title"
|
||||
:current="route().current(subItem.route)"
|
||||
:href="
|
||||
route(subItem.route)
|
||||
"></NavigationSidebarLink>
|
||||
:href="route(subItem.route)"></NavigationSidebarLink>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user