From 8015d809b71d7614e9f9860983f3395589f0f0e3 Mon Sep 17 00:00:00 2001 From: UmakanthKaspa Date: Fri, 30 Aug 2024 09:56:58 +0000 Subject: [PATCH] fix: populate subcategory dialog fields on initial load after page refresh - Added logic to initialize 'name' and 'description' fields with existing values when the dialog is opened for the first time after a page refresh. - Implemented a watcher to ensure that fields are pre-filled with the correct data, preventing users from having to retype entire fields for minor edits. --- .../knowledge-base/KnowledgeBaseSubcategory.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/desk/src/pages/knowledge-base/KnowledgeBaseSubcategory.vue b/desk/src/pages/knowledge-base/KnowledgeBaseSubcategory.vue index 706403726..1d5ffb2c6 100644 --- a/desk/src/pages/knowledge-base/KnowledgeBaseSubcategory.vue +++ b/desk/src/pages/knowledge-base/KnowledgeBaseSubcategory.vue @@ -56,13 +56,13 @@
@@ -80,7 +80,7 @@