Mercurial > gemma
diff client/src/components/importoverview/ImportOverview.vue @ 2654:3c04c8e46bd4
importoverview: reload reloads current selection
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 14 Mar 2019 15:37:10 +0100 |
parents | 9f3856337f55 |
children | 0d2650dd8f62 |
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue Thu Mar 14 15:03:49 2019 +0100 +++ b/client/src/components/importoverview/ImportOverview.vue Thu Mar 14 15:37:10 2019 +0100 @@ -63,7 +63,7 @@ * Thomas Junk <thomas.junk@intevation.de> */ -import { mapState } from "vuex"; +import { mapState, mapGetters } from "vuex"; import { displayError, displayInfo } from "@/lib/errors.js"; import { STATES } from "@/store/imports.js"; @@ -79,13 +79,14 @@ }; }, computed: { - ...mapState("imports", ["imports", "filters", "reviewed"]) + ...mapState("imports", ["imports", "reviewed"]), + ...mapGetters("imports", ["filters"]) }, methods: { loadLogs() { this.loading = true; this.$store - .dispatch("imports/getImports") + .dispatch("imports/getImports", this.filters) .then(() => { this.loading = false; })