AdminButton on_cancel
This commit is contained in:
parent
9ebf50218c
commit
c4b1c180e0
1 changed files with 6 additions and 5 deletions
|
@ -1,9 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<LoginModal
|
<LoginModal v-if="modal_visible" @submit="on_submit" @cancel="on_cancel" />
|
||||||
v-if="modal_visible"
|
|
||||||
@submit="on_submit"
|
|
||||||
@cancel="modal_visible = false"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<BulmaButton
|
<BulmaButton
|
||||||
class="button is-light"
|
class="button is-light"
|
||||||
|
@ -57,5 +53,10 @@ export default class extends Vue {
|
||||||
this.is_busy = false;
|
this.is_busy = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public on_cancel() {
|
||||||
|
this.modal_visible = false;
|
||||||
|
this.is_busy = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue