From 01a9896b194a993b0c1212c46de63a936e0be10c 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 --- 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 } }