fix(boards): issues with old-import board name containing spaces (#4052)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user