From 099524a68cbfe4576eeb0858215a0cbbfb780912 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Tue, 9 May 2023 17:36:37 +0200 Subject: [PATCH] Use primary color --- components/Navigation.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/components/Navigation.vue b/components/Navigation.vue index 44d490fd..faad58fd 100644 --- a/components/Navigation.vue +++ b/components/Navigation.vue @@ -16,16 +16,19 @@ const props = defineProps<{ prepend-icon="mdi-account-circle" nav :title="navItem.title" + active-color="primary" ></v-list-item> </template> <Navigation :navigation="navItem.children" /> </v-list-group> - <v-list-item - v-else - nav - :title="navItem.title" - :value="navItem.title" - :to="navItem._path" - ></v-list-item> + <template v-else> + <v-list-item + nav + :title="navItem.title" + :value="navItem.title" + :to="navItem._path" + active-color="primary" + ></v-list-item> + </template> </template> </template> -- GitLab