mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-04-23 22:59:02 +00:00
fix: chord files not detected properly
feat: alert on unknown backups
This commit is contained in:
@@ -60,6 +60,8 @@ export async function restoreBackup(event: Event) {
|
||||
restoreFromFile(csvLayoutToJson(text))
|
||||
} else if (isCsvChords(text)) {
|
||||
restoreFromFile(csvChordsToJson(text))
|
||||
} else {
|
||||
alert("Unknown backup format")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user