Skip to content

Commit 0d75d3d

Browse files
authored
Merge pull request #4190 from balancer/hf/branded-pool-actions
hotfix: remove stake and migrate actions for branded redirect pools
2 parents 1b3b039 + 118ecfd commit 0d75d3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/tables/PoolsTable/PoolsTableActionSelector.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
import { PoolWarning } from '@/types/pools';
1010
import { usePoolWarning } from '@/composables/usePoolWarning';
1111
import { useDisabledJoinPool } from '@/composables/useDisabledJoinPool';
12+
import { POOLS } from '@/constants/pools';
1213
1314
type Props = {
1415
pool: Pool;
@@ -50,7 +51,8 @@ function isActionDisabled(action: PoolAction) {
5051
Boolean(deprecatedDetails(props.pool.id)) ||
5152
isAffectedBy(PoolWarning.PoolProtocolFeeVulnWarning) ||
5253
isJoinsDisabled(props.pool.id) ||
53-
shouldDisableJoins.value;
54+
shouldDisableJoins.value ||
55+
POOLS.BrandedRedirect?.[props.pool.poolType];
5456
5557
const actionsToDisable = [
5658
PoolAction.Add,

0 commit comments

Comments
 (0)