Update tagUtils.ts

This commit is contained in:
Charlie Kolb 2025-02-13 13:38:12 +01:00 committed by GitHub
parent aa02f16501
commit c082eee522
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
import { ITag } from '@/Interface';
import type { ITag } from '@/Interface';
export function tagMatchesSearch(tag: ITag, search: string): boolean {
return tag.name.toLowerCase().trim().includes(search.toLowerCase().trim());