Skip to content
Snippets Groups Projects
Verified Commit 521eee80 authored by Julian's avatar Julian Committed by magicfelix
Browse files

Display the current status using the update indicator

parent 6f09ef79
No related branches found
No related tags found
1 merge request!284Draft: Redesign entering of lesson documentation
......@@ -15,6 +15,13 @@ export default {
}, 1000)
},
updateManually(event) {
alert("Data sync triggered manually");
this.status = UPDATING;
setTimeout(() => {
this.status = SAVED;
}, 500)
}
},
props: [],
name: "course-book",
......@@ -163,6 +170,7 @@ export default {
},
template: `
<div>
<update-indicator @manual-update="updateManually()" ref="indicator" :status="status"></update-indicator>
<v-subheader>{{ lesson.subject.name }}</v-subheader>
<v-row>
<v-col v-for="item in lesson_documentations" cols="12" v-bind:key="item.id">
......
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