mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-29 15:44:12 +00:00
fixed filter/search
This commit is contained in:
parent
67ca0e65de
commit
a1dd39cbfe
@ -402,7 +402,12 @@ export default {
|
||||
if (!this.filterInProgress) {
|
||||
this.filterInProgress = true
|
||||
setTimeout(() => {
|
||||
this.list = this.tempList.filter((item) => item.title && item.title.includes(this.filterTitle))
|
||||
if(this.filterTitle){
|
||||
this.list = this.tempList.filter((item) => item.title && item.title.includes(this.filterTitle))
|
||||
|
||||
}else{
|
||||
this.list = this.tempList
|
||||
}
|
||||
this.filterInProgress = false
|
||||
}, 100)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user