Skip to content

Commit

Permalink
fix: Ignore delegation dashboard (#4877)
Browse files Browse the repository at this point in the history
* fix: Ignore delegation dashboard

* lint
  • Loading branch information
ChaituVR committed Sep 17, 2024
1 parent e2cf65e commit ac977e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/SpaceSidebarNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const hasDelegationStrategy = computed(() => {
});
const hasDelegatesSettings = computed(() => {
// delegation dashboard enabled on v2 for these spaces
const ignoreSpaces = ['ens.eth', 'gitcoindao.eth', 'uniswapgovernance.eth'];
if (ignoreSpaces.includes(props.space.id)) return false;
return props.space.delegationPortal?.delegationType;
});
Expand Down

0 comments on commit ac977e6

Please sign in to comment.