Skip to content

Commit

Permalink
fix: add button to reactivate space
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Nov 13, 2023
1 parent b869e58 commit 2d7e090
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/components/SpaceCreateWarnings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const { web3, web3Account } = useWeb3();
const { isGnosisAndNotSpaceNetwork } = useGnosis(props.space);
const { errorFetchingSnapshot } = useSnapshot();
function handleReactivateSpace() {
window.open('https://tally.so', '_blank')
}
const minScore = computed(
() =>
props.space?.validation?.params?.minScore ||
Expand Down Expand Up @@ -52,9 +56,11 @@ const isAdmin = computed(() => {
is-responsive
>
This space has been hibernated, and proposals creation has been disabled until the space is reactivated by an admin.
<BaseLink v-if="isAdmin" link="https://discord.snapshot.org/">
Learn more about how to reactivate this space
</BaseLink>
<p v-if="isAdmin" class="mt-3">
<BaseButton @click="handleReactivateSpace">
Reactivate this space
</BaseButton>
</p>
</BaseMessageBlock>

<MessageWarningGnosisNetwork
Expand Down

0 comments on commit 2d7e090

Please sign in to comment.