diff --git a/Services/client/src/components/PageLayout.vue b/Services/client/src/components/PageLayout.vue index 38821ea..788a52d 100644 --- a/Services/client/src/components/PageLayout.vue +++ b/Services/client/src/components/PageLayout.vue @@ -48,7 +48,13 @@ async function submitFolderForm(value: { } } -onMounted(getCabinet) +onMounted(async () => { + await getCabinet() + + const sessionCurrentPath = sessionStorage.getItem('currentPath') + + if (sessionCurrentPath) await getFolder(sessionCurrentPath) +})