diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 2c29207..0028e7b 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -4683,6 +4683,7 @@ export default { cb(this.searchSuggestions) }).catch(error => { console.error("Error fetching search history:", error) + cb(this.searchSuggestions.length > 0 ? this.searchSuggestions : []) }) }, handleSelectSuggestion(item) {