diff --git a/package-lock.json b/package-lock.json index 3de2e78d8e..361ecacbda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@balancer/frontend-v2", - "version": "1.144.0", + "version": "1.144.94", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@balancer/frontend-v2", - "version": "1.144.0", + "version": "1.144.94", "license": "MIT", "devDependencies": { "@aave/protocol-js": "^4.3.0", diff --git a/package.json b/package.json index 2501f0adc2..078380251f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@balancer/frontend-v2", - "version": "1.144.0", + "version": "1.144.94", "engines": { "node": "=16", "npm": ">=8" diff --git a/src/components/contextual/pages/vebal/LMVoting/GaugesTable.vue b/src/components/contextual/pages/vebal/LMVoting/GaugesTable.vue index d9aad09197..6aeeeecf6e 100644 --- a/src/components/contextual/pages/vebal/LMVoting/GaugesTable.vue +++ b/src/components/contextual/pages/vebal/LMVoting/GaugesTable.vue @@ -190,6 +190,14 @@ function getPickedTokens(tokens: VotingPool['tokens']) { ) .map(item => item.address); } + +function voteDisabledFor(pool: VotingPool): boolean { + return ( + hasUserVotes(pool) || + isVotingTimeLocked(pool.lastUserVoteTime) || + props.selectVotesDisabled + ); +}