Added comment for default color
This commit is contained in:
1 parent
bc463802d9
commit
f32bcb79fc
1 file changed
+1
@@ -23,6 +23,7 @@ const StatusLabel = ({ status }) => {
|
||||
Active: theme.palette.labelGreen.color,
|
||||
};
|
||||
|
||||
// Look up the color for the status, default to labelGray if not found
|
||||
const color = colorLookup[status] || theme.palette.labelGray.color;
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user