classic-ui/pages/governance/create.vue
2022-10-13 15:50:29 +02:00

24 lines
446 B
Vue

<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>