mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Make tag search in workflows case insensitive (#17347)
This commit is contained in:
@@ -15,7 +15,7 @@ describe('Workflow tags', () => {
|
||||
wf.actions.addTags(TEST_TAGS.slice(0, 2));
|
||||
wf.getters.tagPills().should('have.length', 2);
|
||||
wf.getters.nthTagPill(1).click();
|
||||
wf.actions.addTags(TEST_TAGS[1].toUpperCase());
|
||||
wf.actions.addTags(TEST_TAGS[2]);
|
||||
wf.getters.tagPills().should('have.length', 3);
|
||||
wf.getters.isWorkflowSaved();
|
||||
});
|
||||
|
||||
@@ -59,7 +59,9 @@ const container = ref<HTMLDivElement>();
|
||||
const dropdownId = uuid();
|
||||
|
||||
const options = computed<ITag[]>(() => {
|
||||
return props.allTags.filter((tag: ITag) => tag && tag.name.includes(filter.value));
|
||||
return props.allTags.filter(
|
||||
(tag: ITag) => tag && tag.name.toLowerCase().includes(filter.value.toLowerCase()),
|
||||
);
|
||||
});
|
||||
|
||||
const appliedTags = computed<string[]>(() => {
|
||||
|
||||
Reference in New Issue
Block a user