mirror of
https://github.com/mue/mue.git
synced 2026-07-19 15:04:11 +02:00
fix: some bug fixes
This commit is contained in:
@@ -22,9 +22,9 @@ export default class AdvancedSettings extends React.PureComponent {
|
||||
settingsImport(e) {
|
||||
const content = JSON.parse(e.target.result);
|
||||
|
||||
for (const key of Object.keys(content)) {
|
||||
Object.keys(content).forEach((key) => {
|
||||
localStorage.setItem(key, content[key]);
|
||||
}
|
||||
});
|
||||
|
||||
toast(window.language.toasts.imported);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user