summaryrefslogtreecommitdiffstats
path: root/webapp/src/store
diff options
context:
space:
mode:
authorUdo Walter2019-03-30 21:31:06 +0100
committerUdo Walter2019-03-30 21:31:06 +0100
commitc312745354245c5f5c25cb90b5a7a6208953a1f5 (patch)
treecb5cd678fef5a3347a13adf4bddf3e8c39e0fb1e /webapp/src/store
parent[webapp/groups] parents of groups and clients are now clickable (diff)
downloadbas-c312745354245c5f5c25cb90b5a7a6208953a1f5.tar.gz
bas-c312745354245c5f5c25cb90b5a7a6208953a1f5.tar.xz
bas-c312745354245c5f5c25cb90b5a7a6208953a1f5.zip
[webapp] fix bug in groups; remember filters in systemlog
Diffstat (limited to 'webapp/src/store')
-rw-r--r--webapp/src/store/log.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/webapp/src/store/log.js b/webapp/src/store/log.js
new file mode 100644
index 0000000..bfff8ae
--- /dev/null
+++ b/webapp/src/store/log.js
@@ -0,0 +1,18 @@
+export default {
+ namespaced: true,
+ state: {
+ filter: {
+ fromDate: null,
+ fromTime: null,
+ toDate: null,
+ toTime: null,
+ categoryFilter: [],
+ clientFilter: [],
+ groupFilter: [],
+ userFilter: []
+ }
+ },
+ mutations: {
+ setFilter (state, { filter, value }) { state.filter[filter] = value }
+ }
+}