evcc-io/assets/js/components/Config/Messaging/utils.ts
Maschga 7f772bad73
Config UI: make messengers configurable (#26946)
Co-authored-by: andig <cpuidle@gmail.com>
Co-authored-by: andig <andi@evcc.io>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Michael Geers <michael@geers.tv>
2026-02-17 12:26:03 +01:00

3 lines
105 B
TypeScript

export function capitalize(str: string): string {
return str.charAt(0).toUpperCase() + str.slice(1);
}