fix(boards): issues with old-import board name containing spaces (#4052)

This commit is contained in:
Meier Lukas
2025-09-12 18:44:37 +02:00
committed by GitHub
parent 3703f428b0
commit f7471b6c63
5 changed files with 11 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ export const analyseOldmarrImportAsync = async (file: File) => {
}
return {
name: entry.name.replace(".json", ""),
name: entry.name.replaceAll(" ", "-").replace(".json", ""),
config: result.data ?? null,
isError: !result.success,
};