feat: page labels/tags (#2188)
* feat: labels (WIP) * full implementation
This commit is contained in:
3
apps/client/src/features/label/utils/normalize-label.ts
Normal file
3
apps/client/src/features/label/utils/normalize-label.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function normalizeLabelName(name: string): string {
|
||||
return name.trim().replace(/\s+/g, "-").toLowerCase();
|
||||
}
|
||||
Reference in New Issue
Block a user