Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix-front into 6919-syncData
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
72ce3615d0
|
@ -22,7 +22,7 @@ const props = defineProps({
|
|||
default: 'main',
|
||||
},
|
||||
});
|
||||
|
||||
const initialized = ref(false);
|
||||
const items = ref([]);
|
||||
const expansionItemElements = reactive({});
|
||||
const pinnedModules = computed(() => {
|
||||
|
@ -61,11 +61,13 @@ const filteredPinnedModules = computed(() => {
|
|||
onMounted(async () => {
|
||||
await navigation.fetchPinned();
|
||||
getRoutes();
|
||||
initialized.value = true;
|
||||
});
|
||||
|
||||
watch(
|
||||
() => route.matched,
|
||||
() => {
|
||||
if (!initialized.value) return;
|
||||
items.value = [];
|
||||
getRoutes();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue