Skip to content
Snippets Groups Projects
Commit d3632d87 authored by Julian's avatar Julian
Browse files

Display the current status using the update indicator

parent 61ef4776
No related branches found
No related tags found
No related merge requests found
......@@ -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