- {Object.entries(warningState).map((element, index) => (
+ {Object.entries(warningState).map((warning, index) => (
- { hideWarnings === false ? {element[0]} : null}
- { hideWarnings === false ? element[1]["map"](
+ { hideWarnings === false ? {warning[0]} : null}
+ { hideWarnings === false ? warning[1]["map"](
(x,i) => // eslint-disable-line dot-notation
x.hasWarning
? ( // eslint-disable-next-line dot-notation
@@ -36,26 +36,43 @@ export function BasicTabBody({ state, hideWarnings, showLibsWarning, warningStat
editor={analysisModule}
/>
- ) : null
- ) : element[1]["map"](
- (x,i) => // eslint-disable-line dot-notation
- showLibsWarning && x.isLibrary
- ? ( // eslint-disable-next-line dot-notation
+ ) : null) : null}
+ {
+ hideWarnings === false ? warning[1]["map"]((x,i) =>(
+ showLibsWarning === false ? (
+ x.isLibrary ? (
-
-
- ) : null)}
- {}
+ data-id={`staticAnalysisModule${x.warningModuleName}${i}`}
+ id={`staticAnalysisModule${x.warningModuleName}${i}`}
+ key={i}
+ >
+
+
+ ) : null): null)) : null
+ }
+ {
+ hideWarnings === false ? warning[1]["map"]((x,i) =>(
+