mirror of
https://github.com/mue/mue.git
synced 2026-07-13 20:13:47 +02:00
fix: sideload tab and file uploads
This commit is contained in:
@@ -52,7 +52,7 @@ export function exportSettings() {
|
||||
}
|
||||
|
||||
export function importSettings(e) {
|
||||
const content = JSON.parse(e.target.result);
|
||||
const content = JSON.parse(e);
|
||||
|
||||
Object.keys(content).forEach((key) => {
|
||||
localStorage.setItem(key, content[key]);
|
||||
|
||||
Reference in New Issue
Block a user