File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
build/ui/src/components/Setup Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ function MinipoolCard({
3838 < div className = "chip-container" >
3939 < Chip label = { `#${ data . validator . index } ` } />
4040 < Chip
41- label = { data . status . status }
42- sx = { { backgroundColor : { backgroundColor } } }
41+ label = { data . finalised ? "Finalised" : data . status . status }
42+ sx = { { backgroundColor : data . finalised ? "#FFC107" : backgroundColor } }
4343 />
4444 </ div >
4545 < div className = "validator-status" >
4646 < Chip
47- label = { data . validator . active ? "Active" : "Inactive" }
48- sx = { { backgroundColor : data . validator . active ? "#81C784" : "#E57373" } }
47+ label = { data . finalised ? "Exited" : ( data . validator . active ? "Active" : "Inactive" ) }
48+ sx = { { backgroundColor : data . finalised || data . validator . active ? "#81C784" : "#E57373" } }
4949 />
5050 </ div >
5151
You can’t perform that action at this time.
0 commit comments