Skip to content

Commit 50fc847

Browse files
author
Lasim
committed
fix(frontend): normalize tag input to lowercase on addition
1 parent 726626a commit 50fc847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/frontend/src/composables/admin/mcp-catalog/useTagManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function useTagManager(
1111
const newTag = ref('')
1212

1313
const addTag = () => {
14-
const trimmedTag = newTag.value.trim()
14+
const trimmedTag = newTag.value.trim().toLowerCase()
1515
if (trimmedTag && !currentTags().includes(trimmedTag)) {
1616
updateTags([...currentTags(), trimmedTag])
1717
newTag.value = ''

0 commit comments

Comments
 (0)