From 302c1bb18e34d81cef0eb021905232000a1e68b7 Mon Sep 17 00:00:00 2001 From: Xiwen Cheng Date: Wed, 5 Feb 2025 22:29:36 +0100 Subject: [PATCH] Microflow transformation is still buggy. Put behind feature flag --- mpr/mpr.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpr/mpr.go b/mpr/mpr.go index 74371ba..d4bd965 100644 --- a/mpr/mpr.go +++ b/mpr/mpr.go @@ -184,7 +184,8 @@ func getMxDocuments(units []MxUnit, folders []MxFolder, mode string) ([]MxDocume Path: getMxDocumentPath(unit.ContainerID, folders), Attributes: unit.Contents, } - if unit.Contents["$Type"] == "Microflows$Microflow" { + + if mode == "advanced" && unit.Contents["$Type"] == "Microflows$Microflow" { myDocument = transformMicroflow(myDocument) } documents = append(documents, myDocument)