Skip to content

Commit 1aedcec

Browse files
MarkmVakgithub-code-quality[bot]
authored andcommitted
Potential fix for pull request finding 'Useless conditional'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent fcdd01b commit 1aedcec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

WebGUI/js/visualizers_lib/ViewerRoot.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -371,12 +371,12 @@ ViewerRoot.renderPosition = async function(target) {
371371

372372
let opt = ViewerRoot.getOverlayDrawOpt(firstObj, obj);
373373
if (opt === null) {
374-
Debug.log(
375-
"Overlay skipped for unsupported SAME combination: " +
376-
(firstObj._typename || "unknown") + " + " +
377-
(obj._typename || "unknown"),
378-
Debug.WARN_PRIORITY
379-
);
374+
Debug.log(
375+
"Overlay skipped for unsupported SAME combination: " +
376+
(firstObj._typename || "unknown") + " + " +
377+
(obj._typename || "unknown"),
378+
Debug.WARN_PRIORITY
379+
);
380380
continue;
381381
}
382382

0 commit comments

Comments
 (0)