mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-14 17:01:51 +02: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