From ddb835b7306bae431f0d2af8e33a9594b5656e64 Mon Sep 17 00:00:00 2001 From: Pavel Mironchik Date: Sat, 2 Jan 2021 17:37:53 +0600 Subject: [PATCH] Fix a typo. --- resources/assets/js/components/AkauntingSearch.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/assets/js/components/AkauntingSearch.vue b/resources/assets/js/components/AkauntingSearch.vue index 99820aece..39e05705e 100644 --- a/resources/assets/js/components/AkauntingSearch.vue +++ b/resources/assets/js/components/AkauntingSearch.vue @@ -265,8 +265,8 @@ export default { now.setTime(now.getTime() + 1 * 3600 * 1000); let expires = now.toUTCString(); - let serach_string = {}; - serach_string[path] = {}; + let search_string = {}; + search_string[path] = {}; this.filtered.forEach(function (filter, index) { if (!args) { @@ -275,13 +275,13 @@ export default { args += this.selected_options[index].key + ':' + this.selected_values[index].key + ' '; - serach_string[path][this.selected_options[index].key] = { + search_string[path][this.selected_options[index].key] = { 'key': this.selected_values[index].key, 'value': this.selected_values[index].value }; }, this); - Cookies.set('search-string', serach_string, expires); + Cookies.set('search-string', search_string, expires); window.location = path + args; }, @@ -466,9 +466,9 @@ export default { cookie = JSON.parse(cookie)[path]; if (this.value) { - let serach_string = this.value.split(' '); + let search_string = this.value.split(' '); - serach_string.forEach(function (string) { + search_string.forEach(function (string) { if (string.search(':') === -1) { this.search = string; } else {