Skip to content

Commit 0c51787

Browse files
author
Andrew L
committed
fix Significant coloring
1 parent f996404 commit 0c51787

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/services/sheets/public-row-transform.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ export default function publicRownTrasnform(sheet) {
112112
let bgColor = null;
113113

114114
if (severeSignificant === 'significant') {
115-
bgColor = 'red';
116-
} else if (severeSignificant === 'not significant') {
117115
bgColor = 'green';
116+
} else if (severeSignificant === 'not significant') {
117+
bgColor = 'red';
118118
}
119119

120120
return {
@@ -179,9 +179,9 @@ export default function publicRownTrasnform(sheet) {
179179
let bgColor = null;
180180

181181
if (fatalitySignificant === 'significant') {
182-
bgColor = 'red';
183-
} else if (fatalitySignificant === 'not significant') {
184182
bgColor = 'green';
183+
} else if (fatalitySignificant === 'not significant') {
184+
bgColor = 'red';
185185
}
186186

187187
return {

0 commit comments

Comments
 (0)