Skip to content
Snippets Groups Projects
Commit 4c477541 authored by permcu's avatar permcu
Browse files

Go back to absence-creation-form on cancel

parent efc8450c
No related branches found
No related tags found
1 merge request!356Add dialog for creation of long-term absences
......@@ -37,7 +37,7 @@
<!-- secondary -->
<!-- TODO: Return to form on cancel? form=true -->
<cancel-button
@click="popup = false"
@click="cancel"
:disabled="loading"
/>
<!-- primary -->
......@@ -89,6 +89,10 @@ export default {
};
},
methods: {
cancel() {
this.popup = false;
this.form = true;
},
confirm() {
// TODO: Send mutation (shown in absence-creation-summary)
popup = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment