mobile fixes
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
<script setup>
|
||||
import {computed} from "vue";
|
||||
import {useRoute} from "vue-router";
|
||||
import {nav} from "/src/misc.js"
|
||||
|
||||
const props = defineProps(['icon', 'route', 'tooltip', 'href', 'target'])
|
||||
const router = useRoute();
|
||||
@@ -29,7 +28,8 @@ function click() {
|
||||
|
||||
}
|
||||
else
|
||||
nav(props.route)
|
||||
// noinspection JSIgnoredPromiseFromCall
|
||||
router1.push({name: props.route})
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user