@topconsultnpm/sdkui-react-beta 6.8.73 → 6.8.74
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.
|
@@ -9,7 +9,7 @@ const TMVilViewer = ({ vil = [] }) => {
|
|
|
9
9
|
let errItems = [];
|
|
10
10
|
let sortedVil = vil.sort((a, b) => a.ResultType.localeCompare(b.ResultType));
|
|
11
11
|
for (let i = 0; i < sortedVil.length; i++) {
|
|
12
|
-
let viColor = sortedVil[i].ResultType == ResultTypes.ERROR ? TMColors.error : sortedVil[i].ResultType == ResultTypes.INFO ? TMColors.info : TMColors.
|
|
12
|
+
let viColor = sortedVil[i].ResultType == ResultTypes.ERROR ? TMColors.error : sortedVil[i].ResultType == ResultTypes.INFO ? TMColors.info : TMColors.tertiary;
|
|
13
13
|
let msg_prefix = sortedVil.length > 1 ? `${i + 1}) ` : '';
|
|
14
14
|
errItems.push(_jsx("div", { style: { color: viColor }, children: `${msg_prefix}${sortedVil[i].Message}` }, i));
|
|
15
15
|
}
|