mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-22 15:53:01 +00:00
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>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue