mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Azure genai fixes (#14103)
* Azure fixes * clarify docs * sublabels fix
This commit is contained in:
1 parent
b5f5627ca6
commit
849d441c5c
4 files changed
+13
-6
No files matched your search
@@ -1,3 +1,10 @@
|
||||
export const capitalizeFirstLetter = (text: string): string => {
|
||||
return text.charAt(0).toUpperCase() + text.slice(1);
|
||||
};
|
||||
|
||||
export const capitalizeAll = (text: string): string => {
|
||||
return text
|
||||
.split(" ")
|
||||
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
||||
.join(" ");
|
||||
};
|
||||
Reference in new issue
Block a user