Skip to content

Commit f1a6a77

Browse files
committed
use normalizeName
1 parent 7df06d2 commit f1a6a77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/ts/modals/simple-modals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ list.updateCustomTheme = new SimpleModal({
10261026
: customTheme.colors;
10271027

10281028
const newTheme = {
1029-
name: name.replaceAll(" ", "_"),
1029+
name: normalizeName(name),
10301030
colors: newColors,
10311031
};
10321032
const validation = await DB.editCustomTheme(customTheme._id, newTheme);

0 commit comments

Comments
 (0)