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.
7 lines
184 B
TypeScript
7 lines
184 B
TypeScript
export const statusOptions = [
|
|
{ value: "all", label: "All Systems" },
|
|
{ value: "up", label: "Up" },
|
|
{ value: "down", label: "Down" },
|
|
{ value: "paused", label: "Paused" },
|
|
];
|