mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-06 10:59:23 +00:00
fixed filter/search
This commit is contained in:
parent
67ca0e65de
commit
a1dd39cbfe
@ -402,7 +402,12 @@ export default {
|
|||||||
if (!this.filterInProgress) {
|
if (!this.filterInProgress) {
|
||||||
this.filterInProgress = true
|
this.filterInProgress = true
|
||||||
setTimeout(() => {
|
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
|
this.filterInProgress = false
|
||||||
}, 100)
|
}, 100)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user