web: replace all occurences of the theme placeholder (#10749)
Replace all occurences of the theme placeholder This allows the placeholder to occur multiple times in the theme url. Signed-off-by: Chasethechicken <neuringe1234@gmail.com>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user