perf: if searchtext condition
This commit is contained in:
parent
c61ad16681
commit
b635010972
|
@ -103,7 +103,7 @@ async function search() {
|
|||
search: searchText.value,
|
||||
},
|
||||
};
|
||||
if (!(searchText.value && searchText.value !== '')) {
|
||||
if (!searchText.value) {
|
||||
filter = {
|
||||
params: {
|
||||
...Object.fromEntries(staticParams),
|
||||
|
|
Loading…
Reference in New Issue