We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c52c3c commit b8eebabCopy full SHA for b8eebab
1 file changed
databud/src/components/SchemaView.vue
@@ -301,9 +301,9 @@ export default Vue.extend({
301
computed: {
302
schemaDRIs(): (VaultSchema & { dri?: string })[] {
303
let items = [{ dri: undefined, title: 'Default' }, ...this.$store.state.schemaDRI.all];
304
- const search = this.searchText.trim();
+ const search = this.searchText.trim().toLowerCase();
305
if (search)
306
- items = items.filter(x => x.title.indexOf(search) !== -1);
+ items = items.filter(x => x.title.toLowerCase().indexOf(search) !== -1);
307
308
return items;
309
},
0 commit comments