Skip to content

Commit

Permalink
Merge pull request #128 from eco-stake/highlight-ecostake
Browse files Browse the repository at this point in the history
Highlight ECO Stake in the validator listing
  • Loading branch information
tombeynon authored Jan 20, 2025
2 parents 8ef8cd8 + f7ace4c commit 377c84b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ function Validators(props) {
const operator = operatorForValidator(validatorAddress);
const grants = operator && operatorGrants[operator.botAddress]

let rowVariant
if (validatorOperator) rowVariant = 'table-info'
let rowVariants = []
if (validatorOperator) rowVariants.push('table-info')
if (validator.path == 'ecostake') rowVariants.push('border-bottom border-info fw-bold')
const rowVariant = _.compact(rowVariants).join(' ')

const delegationBalance = (delegation && delegation.balance) || {
amount: 0,
Expand Down

0 comments on commit 377c84b

Please sign in to comment.