forked from trent_larson/crowd-funder-for-time-pwa
Add a back-button action
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
value="Import Identity"
|
||||
/>
|
||||
<button
|
||||
@click="onCancelClick()"
|
||||
type="button"
|
||||
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md"
|
||||
>
|
||||
@@ -46,5 +47,9 @@ import { Options, Vue } from "vue-class-component";
|
||||
@Options({
|
||||
components: {},
|
||||
})
|
||||
export default class ImportAccountView extends Vue {}
|
||||
export default class ImportAccountView extends Vue {
|
||||
public onCancelClick() {
|
||||
this.$router.back();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user