refactoring

This commit is contained in:
mpetrov 2024-12-16 19:53:20 +02:00
parent 076016c4bf
commit f080a89f21

View File

@ -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)';