perf: if searchtext condition

This commit is contained in:
Jon Elias 2024-12-11 14:03:56 +01:00
parent c61ad16681
commit b635010972
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ async function search() {
search: searchText.value,
},
};
if (!(searchText.value && searchText.value !== '')) {
if (!searchText.value) {
filter = {
params: {
...Object.fromEntries(staticParams),