mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-20 13:54:36 +01:00
UI tweaks (#14814)
* Tweak bird icon and fix _ in object name * Apply to all capitalization
This commit is contained in:
@@ -4,6 +4,7 @@ export const capitalizeFirstLetter = (text: string): string => {
|
||||
|
||||
export const capitalizeAll = (text: string): string => {
|
||||
return text
|
||||
.replaceAll("_", " ")
|
||||
.split(" ")
|
||||
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
||||
.join(" ");
|
||||
|
||||
Reference in New Issue
Block a user