diff --git a/apps/ui/src/components/SpaceTreasury.vue b/apps/ui/src/components/SpaceTreasury.vue index cdbabe866..a6fb7aa57 100644 --- a/apps/ui/src/components/SpaceTreasury.vue +++ b/apps/ui/src/components/SpaceTreasury.vue @@ -105,6 +105,10 @@ const executionStrategy = computed(() => { }; }); +const hasStakeableAssets = computed(() => { + return !isReadOnly && assets.value.some(asset => asset.contractAddress === ETH_CONTRACT); +}); + function openModal(type: 'tokens' | 'nfts' | 'stake') { modalOpen.value[type] = true; } @@ -324,6 +328,7 @@ watchEffect(() => setTitle(`Treasury - ${props.space.name}`)); setTitle(`Treasury - ${props.space.name}`)); @add="addTx" />