Fix error handling for better performance
This commit is contained in:
2
main.js
2
main.js
@@ -20,7 +20,7 @@ const store = new Store({
|
|||||||
intelligentCommitThreshold: 100
|
intelligentCommitThreshold: 100
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
let folders = store.get('folders');
|
let folders = store.get('folders');
|
||||||
if (Array.isArray(folders)) {
|
if (Array.isArray(folders)) {
|
||||||
folders = folders.map(f => ({
|
folders = folders.map(f => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user