# HG changeset patch # User Thomas Junk # Date 1552383747 -3600 # Node ID 956b230c60620beb48f69f7069d8e3156e38cd03 # Parent 5472a5be09c2c1c6b9d625a8fcbd571194ef4b94 overview2 WIP diff -r 5472a5be09c2 -r 956b230c6062 client/src/components/importoverview/Filters.vue --- a/client/src/components/importoverview/Filters.vue Tue Mar 12 09:44:32 2019 +0100 +++ b/client/src/components/importoverview/Filters.vue Tue Mar 12 10:42:27 2019 +0100 @@ -56,7 +56,7 @@ "declined", "warning" ].filter(x => this[x]); - this.$store.commit("imports/setFilers", filters); + this.$store.commit("imports/setFilters", filters); } }, computed: { diff -r 5472a5be09c2 -r 956b230c6062 client/src/components/importoverview/ImportOverviewAlt.vue --- a/client/src/components/importoverview/ImportOverviewAlt.vue Tue Mar 12 09:44:32 2019 +0100 +++ b/client/src/components/importoverview/ImportOverviewAlt.vue Tue Mar 12 10:42:27 2019 +0100 @@ -51,7 +51,7 @@ LogEntry: () => import("./LogEntry.vue") }, computed: { - ...mapState("imports", ["imports"]), + ...mapState("imports", ["imports", "filters"]), ...mapGetters("imports", ["toCommit"]), commitStyle() { return { @@ -78,6 +78,11 @@ }); } }, + watch: { + filters() { + this.$store.dispatch("imports/getImports", this.filters); + } + }, mounted() { this.loadLogs(); } @@ -85,6 +90,9 @@