Skip to content

Commit

Permalink
Add chevron icon
Browse files Browse the repository at this point in the history
  • Loading branch information
wkramer committed Feb 16, 2024
1 parent f1ee317 commit 24549e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/time-control/TimeControlMenu.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-menu left bottom :close-on-content-click="false" class="menu">
<template v-slot:activator="{ props }">
<template v-slot:activator="{ props, isActive }">
<v-btn v-bind="props" variant="tonal" rounded>
{{
Intl.DateTimeFormat('nl', {
Expand All @@ -9,6 +9,7 @@
timeZoneName: 'short',
}).format(store.systemTime)
}}
<v-icon>{{ isActive ? 'mdi-chevron-up' : 'mdi-chevron-down' }}</v-icon>
</v-btn>
</template>

Expand Down

0 comments on commit 24549e7

Please sign in to comment.