# HG changeset patch # User Markus Kottlaender # Date 1551336334 -3600 # Node ID fd248ede0251868849bf611effeed5a5541af76c # Parent 8481e62666917fbf393e23a35ae35c198de777d1 client: update staging area every 15s Easy fix for issue220. More elaborated solution might come later with a complete notification system. diff -r 8481e6266691 -r fd248ede0251 client/src/components/Sidebar.vue --- a/client/src/components/Sidebar.vue Wed Feb 27 18:00:35 2019 +0100 +++ b/client/src/components/Sidebar.vue Thu Feb 28 07:45:34 2019 +0100 @@ -212,13 +212,15 @@ } }, mounted() { - this.$store.dispatch("imports/getStaging").catch(error => { - const { status, data } = error.response; - displayError({ - title: "Backend Error", - message: `${status}: ${data.message || data}` + setTimeout(() => { + this.$store.dispatch("imports/getStaging").catch(error => { + const { status, data } = error.response; + displayError({ + title: "Backend Error", + message: `${status}: ${data.message || data}` + }); }); - }); + }, 15000); } };