ts errors
This commit is contained in:
1 parent
3a1fb61847
commit
c92c7fb9c1
4 files changed
+5
-2
No files matched your search
@@ -25,6 +25,7 @@ export const getStatusColor = (status: MonitorStatus, theme: any): string => {
|
||||
const statusColors: Record<MonitorStatus, string> = {
|
||||
up: theme.palette.success.lowContrast,
|
||||
down: theme.palette.error.lowContrast,
|
||||
paused: theme.palette.warning.lowContrast,
|
||||
initializing: theme.palette.warning.lowContrast,
|
||||
};
|
||||
return statusColors[status];
|
||||
|
||||
Reference in new issue
Block a user