Breadcrumbs resit pres funkce

This commit is contained in:
Michal Kváček
2024-03-13 06:35:26 +01:00
parent 5cff3580b0
commit 48f57cde0d
28 changed files with 152 additions and 172 deletions
+2 -2
View File
@@ -4,6 +4,7 @@ import {useAppStore} from "stores/App";
import {onMounted, ref} from "vue";
import {useMeta} from "quasar";
import {metaData} from "src/composables/meta";
import {homepageBreadcrumbs} from "src/composables/breadcrumbs";
const $route = useRoute();
const help = {
@@ -50,7 +51,6 @@ const help = {
const opened = ref({});
onMounted(() => {
opened.value[$route.query.h] = true;
})
useAppStore().setPageTitle("Nápověda");
@@ -58,7 +58,7 @@ useMeta(() => metaData({
title: "Nápověda",
}));
useAppStore().setBreadcrumbs([
{label: "Polétání.cz", to: {name: "homepage"}},
...homepageBreadcrumbs(),
{label: "Nápověda"},
]);
</script>