classic-ui/pages/governance/index.vue
FreezyEx b32527e057 Revert "minor fixes"
This reverts commit 7f8f7c2aa15c8b8c6a7449d177f46f8a417e2f67.
2022-10-13 16:03:54 +02:00

20 lines
361 B
Vue

<template>
<ProposalsList @onCreateProposal="onCreateProposal" />
</template>
<script>
/* eslint-disable no-console */
import ProposalsList from '@/components/governance/ProposalsList'
export default {
components: {
ProposalsList
},
methods: {
onCreateProposal() {
this.$router.push({ path: '/governance/create' })
}
}
}
</script>