diff --git a/src/views/InfodisplayLehrer.vue b/src/views/InfodisplayLehrer.vue index d33967b..c6771fe 100644 --- a/src/views/InfodisplayLehrer.vue +++ b/src/views/InfodisplayLehrer.vue @@ -40,6 +40,7 @@ elevation="2" > @@ -54,6 +55,7 @@ elevation="2" > @@ -84,16 +86,25 @@ export default { 'Vertretungsplan', 'Stundenpläne' ], + reloadTime: 600000 }), - props: { - msg: String - }, - components: { Newsreader, Vertretungsplan }, + created() { + setTimeout(this.onTimeout, this.reloadTime) + }, + + methods: { + onTimeout () { + // Reload-Event einrichten + this.$refs.nr.reload() + this.$refs.vp.reload() + setTimeout(this.onTimeout, this.reloadTime) + } + } } \ No newline at end of file