Browse Source

Add a back-button action

kb/add-usage-guide
Matthew Aaron Raymer 2 years ago
parent
commit
3c843b2f16
  1. 7
      src/views/ImportAccountView.vue

7
src/views/ImportAccountView.vue

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

Loading…
Cancel
Save