Commit 3ffa28a
authored
fix: deployment state color mismatch when isReady is false (#1012)
Previously, when isReady was false, the component would display
the "Deploying" message but use the color of the actual state,
causing incorrect color representation (e.g., "Deploying" in red
when state was ERROR).
Now both the message and color are determined by displayedState,
ensuring they are always synchronized. When isReady is false,
both use DEPLOYING (muted gray).
Signed-off-by: Omar <omar.brbutovic@secomind.com>1 parent 396d995 commit 3ffa28a
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 136 | + | |
138 | 137 | | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments