fix(editor): Make tag search in workflows case insensitive (#17347)

This commit is contained in:
Nikhil Kuriakose
2025-07-21 11:57:48 +02:00
committed by GitHub
parent b8e21876d1
commit 4073ce7fb0
2 changed files with 4 additions and 2 deletions

View File

@@ -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();
});

View File

@@ -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[]>(() => {