We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c064543 commit 951ae18Copy full SHA for 951ae18
electron_app/src/components/History.vue
@@ -3,6 +3,7 @@
3
<div class="animatable_content_box ">
4
5
<b-form-input
6
+ @input="currentPage=1"
7
onkeypress="return event.keyCode != 13;"
8
size="sm"
9
placeholder="Search by prompt text"
@@ -108,7 +109,6 @@ export default {
108
109
let history = Object.values(this.app_state.app_data.history);
110
const that = this;
111
const list = this.app_state.show_history_in_oldest_first ? history : history.reverse();
-
112
if (that.searchText.trim() === '') {
113
return list;
114
}
@@ -117,7 +117,7 @@ export default {
117
keys: ['prompt'],
118
useExtendedSearch: true,
119
});
120
+
121
return fuse.search(that.searchText).map(r => r.item);
122
123
},
0 commit comments