classic-ui-dev/pages/governance/create.vue

24 lines
423 B
Vue
Raw Normal View History

2022-04-21 23:05:56 -04:00
<template>
<div>
<b-button type="is-back" icon-left="arrow-left" @click="onBack">
{{ $t('back') }}
</b-button>
<CreateProposal @onBack="onBack" />
</div>
</template>
<script>
import CreateProposal from '@/components/governance/CreateProposal'
export default {
components: {
CreateProposal
},
methods: {
onBack() {
this.$router.push({ path: '/governance' })
}
}
}
</script>