bugfixes
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user