Skip to content

Commit

Permalink
Merge pull request #421 from gobitfly/NOBIDS/AdaptAddValidatorLimitHa…
Browse files Browse the repository at this point in the history
…ndling

Only show premium modal if not a single validator can be added
  • Loading branch information
D13ce authored Jun 11, 2024
2 parents 657788b + e1f0c62 commit 7367df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/dashboard/ValidatorManagementModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const removeValidators = async (validators?: NumberOrString[]) => {
}
const addValidator = (result: ResultSuggestion) => {
if (total.value + result.count > maxValidatorsPerDashboard.value) {
if (total.value + 1 > maxValidatorsPerDashboard.value) {
dialog.open(BcPremiumModal, {})
return
}
Expand Down

0 comments on commit 7367df5

Please sign in to comment.