From d3708756189900e4b27854e97b173726f3923360 Mon Sep 17 00:00:00 2001 From: Aaron Zielstorff Date: Thu, 16 Jan 2025 14:37:40 +0100 Subject: [PATCH] Updates navigation store to composition api --- .../AppNavigation/AppNavigation.vue | 2 + .../src/components/AppNavigation/AutoSync.vue | 3 +- aas-web-ui/src/main.ts | 3 +- aas-web-ui/src/store/NavigationStore.ts | 261 +++++++++--------- aas-web-ui/src/types/Application.ts | 35 +++ 5 files changed, 172 insertions(+), 132 deletions(-) create mode 100644 aas-web-ui/src/types/Application.ts diff --git a/aas-web-ui/src/components/AppNavigation/AppNavigation.vue b/aas-web-ui/src/components/AppNavigation/AppNavigation.vue index c87dc725..0d9a603e 100644 --- a/aas-web-ui/src/components/AppNavigation/AppNavigation.vue +++ b/aas-web-ui/src/components/AppNavigation/AppNavigation.vue @@ -333,6 +333,8 @@ applyTheme(); // Auto connect to BaSyx Components + // navigationStore.connectComponents(); + Object.keys(basyxComponents).forEach((key) => { const repoKey = key as RepositoryKey; const storedURL = window.localStorage.getItem(repoKey); diff --git a/aas-web-ui/src/components/AppNavigation/AutoSync.vue b/aas-web-ui/src/components/AppNavigation/AutoSync.vue index 890b3918..e244b1a1 100644 --- a/aas-web-ui/src/components/AppNavigation/AutoSync.vue +++ b/aas-web-ui/src/components/AppNavigation/AutoSync.vue @@ -70,7 +70,8 @@