@topconsultnpm/sdkui-react 6.21.0-dev2.18 → 6.21.0-dev2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -675,7 +675,8 @@ const TMMetadataValues = ({ showCheckBoxes = ShowCheckBoxesMode.Never, checkPerm
|
|
|
675
675
|
if (allSystem) {
|
|
676
676
|
return metadataValues.map((item) => renderMetadataItem(item, true));
|
|
677
677
|
}
|
|
678
|
-
|
|
678
|
+
// Se siamo in ApprovalWorkflowView e non è in sola lettura, forziamo il layout del WorkItem anche se non è presente un layout specifico
|
|
679
|
+
if ((isApprovalWorkflowView(currentDTD) && !isReadOnly) && (!layout || !layout.items || layout.items.length === 0)) {
|
|
679
680
|
return layoutWorkItem;
|
|
680
681
|
}
|
|
681
682
|
switch (currentDTD?.id) {
|