summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorIgnatzHome <ignatz@maschath.de>2018-05-19 20:33:49 +0200
committerIgnatzHome <ignatz@maschath.de>2018-05-19 20:33:49 +0200
commitb9ead144fb88eb8e02c1d9ea9144873ce926ed96 (patch)
tree8e5a06deae6021fc6cb38ac2eef07c2b530a3f96 /client
parent1d58e401338985b2c2dfa071d53c83b2c62e368d (diff)
downloadwekan-b9ead144fb88eb8e02c1d9ea9144873ce926ed96.tar.gz
wekan-b9ead144fb88eb8e02c1d9ea9144873ce926ed96.tar.bz2
wekan-b9ead144fb88eb8e02c1d9ea9144873ce926ed96.zip
javascript is confusing sometimes
Diffstat (limited to 'client')
-rw-r--r--client/lib/filter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js
index b971e4e0..4a6dd2f3 100644
--- a/client/lib/filter.js
+++ b/client/lib/filter.js
@@ -159,7 +159,7 @@ class AdvancedFilter {
{
const field = commands[i-1].cmd;
const str = commands[i+1].cmd;
- commands[i] = {}[field]=str;
+ commands[i] = {[field]:str};
commands.splice(i-1, 1);
commands.splice(i, 1);
//changed = true;