classic-ui/pages/governance/index.vue
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10: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>