Skip to content

Commit

Permalink
Merge branch 'master' into uma-add-safe-transaction-file-import-to-os…
Browse files Browse the repository at this point in the history
…nap-plugin
  • Loading branch information
ChaituVR authored Apr 10, 2024
2 parents e7a74ca + e6c168d commit 00d5f8c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/views/DelegateView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,16 @@ async function getDelegationsAndDelegates() {
}
}
const delegationStrategies = [
'delegation',
'erc20-balance-of-delegation',
'delegation-with-cap',
'delegation-with-overrides'
];
async function getDelegatesWithScore() {
const delegationStrategy = space.value.strategies.filter(
strategy => strategy.name === 'delegation'
const delegationStrategy = space.value.strategies.filter(strategy =>
delegationStrategies.includes(strategy.name)
);
if (delegationStrategy.length === 0) return;
Expand Down

0 comments on commit 00d5f8c

Please sign in to comment.