fix search

This commit is contained in:
Nazar Kanaev 2020-07-29 11:26:51 +01:00
parent 13bf45f6af
commit 2392a72856

View File

@ -223,9 +223,7 @@ var vm = new Vue({
} }
}, },
'itemSearch': debounce(function(newVal) { 'itemSearch': debounce(function(newVal) {
if (newVal) { this.refreshItems()
this.refreshItems()
}
}, 500), }, 500),
'itemSortNewestFirst': function(newVal, oldVal) { 'itemSortNewestFirst': function(newVal, oldVal) {
if (oldVal === null) return if (oldVal === null) return