Skip to content

Commit

Permalink
Merge pull request #1143 from FlowFuse/1121-ui-markdown-mermaid-conte…
Browse files Browse the repository at this point in the history
…nt-render-issue

Fixed issue #1121: Update the UI after the component is fully mounted
  • Loading branch information
joepavitt authored Jul 30, 2024
2 parents 0cac0f2 + 0bcfc1a commit 6214100
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/widgets/ui-markdown/UIMarkdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},
Expand Down

0 comments on commit 6214100

Please sign in to comment.