mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-18 03:06:16 +01:00
refactor: replace status strings with systemstatus enum
- also small style changes after tailwind update
This commit is contained in:
@@ -28,3 +28,11 @@ export enum MeterState {
|
||||
Warn,
|
||||
Crit,
|
||||
}
|
||||
|
||||
/** System status states */
|
||||
export enum SystemStatus {
|
||||
Up = "up",
|
||||
Down = "down",
|
||||
Pending = "pending",
|
||||
Paused = "paused",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user