From 63fb4c0c526fe592727cc26f1d635f0242e197d3 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 27 Jul 2017 13:34:55 +0100 Subject: [PATCH] Fix other commands not working Former-commit-id: aeff50d7041e0e411380db06789d431ccfcd849f [formerly 80fc2ef99d5bca4b98447d1218cea45178e973e9] [formerly 4b6b489ceefa94c96830439a1c3e2972641fe536 [formerly 01a9896b194a993b0c1212c46de63a936e0be10c]] Former-commit-id: d16f51eff82db054324ac67d87d044ed040c680b [formerly 0b18874eeee9a6db3946113224593b431c44c0c8] Former-commit-id: 65e557d6703ca9d621da083c56caa7bb80ae089d --- assets/src/components/Search.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/src/components/Search.vue b/assets/src/components/Search.vue index 763055d0..cf4308e7 100644 --- a/assets/src/components/Search.vue +++ b/assets/src/components/Search.vue @@ -129,7 +129,7 @@ export default { let pieces = this.value.split(' ') for (let i = 0; i < this.user.commands.length; i++) { - if (pieces[0] === this.user.commands[0]) { + if (pieces[0] === this.user.commands[i]) { return true } }