|
|
@ -23,7 +23,7 @@ Or functions: |
|
|
```javascript |
|
|
```javascript |
|
|
export const getStatusStyles = (value) => { |
|
|
export const getStatusStyles = (value) => { |
|
|
let color; |
|
|
let color; |
|
|
if (value === "true") { |
|
|
if (value) { |
|
|
color = 'rgb(39, 134, 34)'; |
|
|
color = 'rgb(39, 134, 34)'; |
|
|
} else { |
|
|
} else { |
|
|
color = 'rgb(255, 0, 0)'; |
|
|
color = 'rgb(255, 0, 0)'; |
|
|
|