Skip to content

Commit 86938cf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ee17f72 commit 86938cf

File tree

1 file changed

+2
-2
lines changed
  • src/electron/frontend/core/components

1 file changed

+2
-2
lines changed

src/electron/frontend/core/components/Table.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,11 @@ export class Table extends LitElement {
670670
let message = "";
671671
let theme = "";
672672
if (warnings.length) {
673-
(theme = "warning"), (message = warnings.map((error) => error.message).join("\n"));
673+
((theme = "warning"), (message = warnings.map((error) => error.message).join("\n")));
674674
} else cell.removeAttribute("warning");
675675

676676
if (errors.length) {
677-
(theme = "error"), (message = errors.map((error) => error.message).join("\n")); // Class switching handled automatically
677+
((theme = "error"), (message = errors.map((error) => error.message).join("\n"))); // Class switching handled automatically
678678
} else cell.removeAttribute("error");
679679

680680
if (theme) cell.setAttribute(theme, "");

0 commit comments

Comments
 (0)