From 140975d058ca2310b0dc6f64de2e5a7e4b5880d7 Mon Sep 17 00:00:00 2001 From: MrCoder Date: Thu, 28 Nov 2024 13:43:25 +1100 Subject: [PATCH] refactor(components): adjust fragment components to use consistent data attributes - Remove redundant `:data-from` attribute - Add missing `:data-origin` attribute to FragmentCritical, FragmentLoop, FragmentPar, FragmentRef, and FragmentTryCatchFinally components - Reorder attributes for better readability --- .../Block/Statement/Fragment/FragmentAlt.vue | 1 - .../Block/Statement/Fragment/FragmentCritical.vue | 4 ++++ .../Block/Statement/Fragment/FragmentLoop.vue | 4 ++++ .../Block/Statement/Fragment/FragmentOpt.vue | 1 - .../Block/Statement/Fragment/FragmentPar.vue | 9 ++++++++- .../Block/Statement/Fragment/FragmentRef.vue | 4 ++++ .../Block/Statement/Fragment/FragmentSection.vue | 7 ++++--- .../Block/Statement/Fragment/FragmentTryCatchFinally.vue | 9 ++++++++- 8 files changed, 32 insertions(+), 7 deletions(-) diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentAlt.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentAlt.vue index f0bb5739..d4d56d82 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentAlt.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentAlt.vue @@ -1,7 +1,6 @@