Mercurial > gemma
comparison client/src/components/importschedule/Importschedule.vue @ 1724:79a18eb1672b
import: POC import saveable
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 09 Jan 2019 10:18:35 +0100 |
parents | aec17976528e |
children | b24a54c684bd |
comparison
equal
deleted
inserted
replaced
1723:50548a6df009 | 1724:79a18eb1672b |
---|---|
112 mounted() { | 112 mounted() { |
113 this.getSchedules(); | 113 this.getSchedules(); |
114 }, | 114 }, |
115 methods: { | 115 methods: { |
116 getSchedules() { | 116 getSchedules() { |
117 this.$store.dispatch("imports/getSchedules").catch(error => { | 117 this.$store.dispatch("imports/loadSchedules").catch(error => { |
118 const { status, data } = error.response; | 118 const { status, data } = error.response; |
119 displayError({ | 119 displayError({ |
120 title: this.gettext("Backend Error"), | 120 title: this.gettext("Backend Error"), |
121 message: `${status}: ${data.message || data}` | 121 message: `${status}: ${data.message || data}` |
122 }); | 122 }); |