From 79e2661a27b008b883eeb99d6537f3eedcf33d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20LAGIER?= Date: Thu, 18 Jul 2024 15:03:34 +0200 Subject: [PATCH] fix missing layout on topic update --- src/components/bcf-topic-form/BcfTopicForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/bcf-topic-form/BcfTopicForm.vue b/src/components/bcf-topic-form/BcfTopicForm.vue index 8bfc947..8694f9e 100644 --- a/src/components/bcf-topic-form/BcfTopicForm.vue +++ b/src/components/bcf-topic-form/BcfTopicForm.vue @@ -454,7 +454,7 @@ export default { due_date: topicDueDate.value, description: topicDescription.value, labels: topicLabels.value, - bimdata_viewer_layout: viewpointsToCreate.value.length > 1 && viewerLayout ? viewerLayout : null, + bimdata_viewer_layout: viewpointsToCreate.value.length > 1 && viewerLayout ? viewerLayout : props.topic?.bimdata_viewer_layout, }; let newTopic;