diff --git a/client/src/pages/cockpit/CockpitIndexPage.vue b/client/src/pages/cockpit/CockpitIndexPage.vue index 38714db5..ff5a899e 100644 --- a/client/src/pages/cockpit/CockpitIndexPage.vue +++ b/client/src/pages/cockpit/CockpitIndexPage.vue @@ -27,7 +27,6 @@ function userCountStatus(userId: number) { } const data = { - circles: ["KMU Teil 1", "KMU Teil 2", "3-Säuli-Prinzip"], transferProgress: { fail: 0, success: 3, @@ -35,17 +34,11 @@ const data = { }, }; -const selectedCircle = ref(1); - function setActiveClasses(id: number) { - return cockpitStore.selectedCircle === id + return cockpitStore.selectedCircles.indexOf(id) > -1 ? ["bg-blue-900", "text-white"] : ["text-bg-900"]; } - -function setActiveCircle(id: number) { - cockpitStore.selectedCircle = id; -}