From ac977e65272ea254247bfa13731b1aabd34088cd Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Tue, 17 Sep 2024 17:13:46 +0530 Subject: [PATCH] fix: Ignore delegation dashboard (#4877) * fix: Ignore delegation dashboard * lint --- src/components/SpaceSidebarNavigation.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/SpaceSidebarNavigation.vue b/src/components/SpaceSidebarNavigation.vue index 1959ce7a5a2..483a26ae4e7 100644 --- a/src/components/SpaceSidebarNavigation.vue +++ b/src/components/SpaceSidebarNavigation.vue @@ -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; });