refactoring
This commit is contained in:
parent
076016c4bf
commit
f080a89f21
@ -23,7 +23,7 @@ Or functions:
|
||||
```javascript
|
||||
export const getStatusStyles = (value) => {
|
||||
let color;
|
||||
if (value === "true") {
|
||||
if (value) {
|
||||
color = 'rgb(39, 134, 34)';
|
||||
} else {
|
||||
color = 'rgb(255, 0, 0)';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user