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

24 lines
423 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>