This commit is contained in:
Tim
2024-04-03 15:04:29 -04:00
parent 391c5738ed
commit e406960c70
10 changed files with 108 additions and 35 deletions

View File

@@ -12,7 +12,8 @@ import {computed} from "vue";
import {useRoute} from "vue-router";
const props = defineProps(['icon', 'path', 'tooltip'])
const isCurrent = computed(() => useRoute().path === props.path)
const route = useRoute();
const isCurrent = computed(() => route.path === props.path)
</script>
<style scoped lang="scss">