From d774a0f6dc21ec337c837209981637acaf87c6b5 Mon Sep 17 00:00:00 2001 From: tcollins Date: Fri, 26 Jun 2026 15:52:20 +0200 Subject: [PATCH 1/4] fixing tool form recommendation toggle --- client/src/components/Tool/ToolTutorialRecommendations.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/Tool/ToolTutorialRecommendations.vue b/client/src/components/Tool/ToolTutorialRecommendations.vue index 52a0d6fefea..cffdb4d5253 100644 --- a/client/src/components/Tool/ToolTutorialRecommendations.vue +++ b/client/src/components/Tool/ToolTutorialRecommendations.vue @@ -3,6 +3,7 @@ import { faCaretDown } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { BButton } from "bootstrap-vue"; import { computed, reactive, ref } from "vue"; +import Vue from "vue"; import { useToolTrainingMaterial } from "@/composables/toolTrainingMaterial"; @@ -34,6 +35,10 @@ const tutorialText = computed(() => { return "There is 1 tutorial available which uses this tool."; } }); + +function toggleCategory(category: string) { + Vue.set(categoryOpen, category, !categoryOpen[category]); +}