From 687c4cba1e31be4a8f0718178daabb6aef9695de Mon Sep 17 00:00:00 2001 From: ChaituVR Date: Tue, 17 Sep 2024 16:54:37 +0530 Subject: [PATCH] fix: Ignore delegation dashboard --- src/components/SpaceSidebarNavigation.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/SpaceSidebarNavigation.vue b/src/components/SpaceSidebarNavigation.vue index 1959ce7a5a2..9ed00dabe80 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; });