refactor(beszel): centralize shared constants and formatters
Move alertColorMap and containerColors to _shared/colors.ts, extract statusOptions to _shared/options.ts, and rename formatBytes to formatByteRate for clarity since it formats byte rates not raw bytes.
This commit is contained in:
1 parent
5cf9b1b752
commit
59d44933cf
3 files changed
+64
-6
No files matched your search
@@ -0,0 +1,6 @@
|
||||
export const statusOptions = [
|
||||
{ value: "all", label: "All Systems" },
|
||||
{ value: "up", label: "Up" },
|
||||
{ value: "down", label: "Down" },
|
||||
{ value: "paused", label: "Paused" },
|
||||
];
|
||||
Reference in new issue
Block a user