From 7296fa8f182245fc7d9b1743f6eec45934225f60 Mon Sep 17 00:00:00 2001 From: Timo De Meyst Date: Thu, 24 Apr 2025 17:25:06 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20vragen=20worden=20automatische=20ge?= =?UTF-8?q?=C3=BCpdate=20als=20er=20een=20nieuwe=20wordt=20gesteld?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/learning-paths/LearningPathPage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/learning-paths/LearningPathPage.vue b/frontend/src/views/learning-paths/LearningPathPage.vue index 8d59acb4..9ab66631 100644 --- a/frontend/src/views/learning-paths/LearningPathPage.vue +++ b/frontend/src/views/learning-paths/LearningPathPage.vue @@ -183,6 +183,7 @@ import type { GroupDTO } from "@dwengo-1/common/interfaces/group"; createQuestionMutation.mutate(questionData, { onSuccess: () => { questionInput.value = ""; // Clear the input field after submission + getQuestionsQuery.refetch(); // Reload the questions }, onError: (e) => { console.error(e)