From 0bcfc1a9a6805b863c977a9a4dad5e5a56e464e2 Mon Sep 17 00:00:00 2001 From: Gayan Sandamal Date: Mon, 29 Jul 2024 22:57:43 +0530 Subject: [PATCH] Update the UI after the component is fully mounted --- ui/src/widgets/ui-markdown/UIMarkdown.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/widgets/ui-markdown/UIMarkdown.vue b/ui/src/widgets/ui-markdown/UIMarkdown.vue index a89cefd26..cb4d9f8cd 100644 --- a/ui/src/widgets/ui-markdown/UIMarkdown.vue +++ b/ui/src/widgets/ui-markdown/UIMarkdown.vue @@ -74,6 +74,8 @@ export default { created () { // can't do this in setup as we have custom onInput function this.$dataTracker(this.id, this.onMsgInput, this.onMsgLoad) + }, + mounted () { // make sure we render something on first creation this.update() },