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