mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
fix(editor): Fix issue with case insensitive tags (#9071)
This commit is contained in:
@@ -124,9 +124,7 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
const options = computed<ITag[]>(() => {
|
||||
return allTags.value.filter(
|
||||
(tag: ITag) => tag && tag.name.toLowerCase().includes(filter.value.toLowerCase()),
|
||||
);
|
||||
return allTags.value.filter((tag: ITag) => tag && tag.name.includes(filter.value));
|
||||
});
|
||||
|
||||
const appliedTags = computed<string[]>(() => {
|
||||
@@ -182,7 +180,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function filterOptions(value = '') {
|
||||
filter.value = value.trim();
|
||||
filter.value = value;
|
||||
void nextTick(() => focusFirstOption());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user