classic-ui/pages/governance/index.vue

20 lines
361 B
Vue
Raw Permalink Normal View History

2022-04-22 13:05:56 +10:00
<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>