mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-14 21:15:47 -07:00
UI Adjustments for Progress Tracker
This commit is contained in:
@@ -656,9 +656,11 @@ export default function ReverseTunnelPowershell({ device }) {
|
||||
{ key: "active", label: "Remote Shell Session Active" },
|
||||
].map((step, idx, arr) => {
|
||||
const firstPendingIdx = arr.findIndex((s) => !milestones[s.key]);
|
||||
const flowActiveStates = ["requesting", "waiting", "waiting_agent", "lease_issued", "connected"];
|
||||
const allowActive = flowActiveStates.includes(sessionState);
|
||||
const status = milestones[step.key]
|
||||
? "done"
|
||||
: idx === firstPendingIdx && sessionState !== "idle"
|
||||
: idx === firstPendingIdx && allowActive
|
||||
? "active"
|
||||
: "idle";
|
||||
const palette =
|
||||
|
||||
Reference in New Issue
Block a user