diff --git a/web/src/elements/utils/images.ts b/web/src/elements/utils/images.ts index 8b28d405ceb1..573308a43d21 100644 --- a/web/src/elements/utils/images.ts +++ b/web/src/elements/utils/images.ts @@ -9,5 +9,5 @@ export function themeImage(rawPath: string) { ? UiThemeEnum.Light : UiThemeEnum.Dark; } - return rawPath.replace("%(theme)s", enabledTheme); + return rawPath.replaceAll("%(theme)s", enabledTheme); }