From 2392a72856f8bb33bb961d8a16445a8003229052 Mon Sep 17 00:00:00 2001 From: Nazar Kanaev Date: Wed, 29 Jul 2020 11:26:51 +0100 Subject: [PATCH] fix search --- template/static/javascripts/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/template/static/javascripts/app.js b/template/static/javascripts/app.js index 3fa44b4..5c8270c 100644 --- a/template/static/javascripts/app.js +++ b/template/static/javascripts/app.js @@ -223,9 +223,7 @@ var vm = new Vue({ } }, 'itemSearch': debounce(function(newVal) { - if (newVal) { - this.refreshItems() - } + this.refreshItems() }, 500), 'itemSortNewestFirst': function(newVal, oldVal) { if (oldVal === null) return