AdminButton on_cancel

This commit is contained in:
Jörn-Michael Miehe 2023-09-13 15:20:52 +00:00
parent 9ebf50218c
commit c4b1c180e0

View file

@ -1,9 +1,5 @@
<template>
<LoginModal
v-if="modal_visible"
@submit="on_submit"
@cancel="modal_visible = false"
/>
<LoginModal v-if="modal_visible" @submit="on_submit" @cancel="on_cancel" />
<BulmaButton
class="button is-light"
@ -57,5 +53,10 @@ export default class extends Vue {
this.is_busy = false;
});
}
public on_cancel() {
this.modal_visible = false;
this.is_busy = false;
}
}
</script>