From 5158fe6f423d3e099e5dbc491cbd0b55d8605d0e Mon Sep 17 00:00:00 2001 From: MrCoder Date: Fri, 8 Nov 2024 16:03:50 +1100 Subject: [PATCH] Fixed an issue when label Text is null. To reproduce this: 1. type `a=b` 2. add `if` in front of the above line. --- .../DiagramFrame/SeqDiagram/MessageLayer/MessageLabel.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLabel.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLabel.vue index 6f640493..037516c1 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLabel.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLabel.vue @@ -11,7 +11,7 @@ @keyup="handleKeyup" @keydown="handleKeydown" > - {{ fomattedLabelText }} + {{ formattedLabelText }}