Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 5811664

Browse files
committed
#1655 search bar history option select fix
1 parent f9b22c3 commit 5811664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/rmrk/Gallery/Search/SearchBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export default class SearchBar extends mixins(PrefixMixin) {
312312
if(!this.searched.length)
313313
return []
314314
return this.searched.filter(option => {
315-
return option.name.toString().toLowerCase().indexOf(this.name.toLowerCase()) >= 0
315+
return option.name.toString().toLowerCase().indexOf((this.name || '').toLowerCase()) >= 0
316316
})
317317
}
318318

0 commit comments

Comments
 (0)