We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b3b039 + 118ecfd commit 0d75d3dCopy full SHA for 0d75d3d
src/components/tables/PoolsTable/PoolsTableActionSelector.vue
@@ -9,6 +9,7 @@ import {
9
import { PoolWarning } from '@/types/pools';
10
import { usePoolWarning } from '@/composables/usePoolWarning';
11
import { useDisabledJoinPool } from '@/composables/useDisabledJoinPool';
12
+import { POOLS } from '@/constants/pools';
13
14
type Props = {
15
pool: Pool;
@@ -50,7 +51,8 @@ function isActionDisabled(action: PoolAction) {
50
51
Boolean(deprecatedDetails(props.pool.id)) ||
52
isAffectedBy(PoolWarning.PoolProtocolFeeVulnWarning) ||
53
isJoinsDisabled(props.pool.id) ||
- shouldDisableJoins.value;
54
+ shouldDisableJoins.value ||
55
+ POOLS.BrandedRedirect?.[props.pool.poolType];
56
57
const actionsToDisable = [
58
PoolAction.Add,
0 commit comments