Browse Source

Add a back-button action

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

Loading…
Cancel
Save