Update storage.ts
This commit is contained in:
parent
12349b7129
commit
6722ae3dfa
1 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,11 @@ class Storage {
|
|||
}
|
||||
}
|
||||
|
||||
this.load(data)
|
||||
try {
|
||||
this.load(data)
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
}
|
||||
|
||||
saveDocumentToLocalStorage(data: Data) {
|
||||
|
|
Loading…
Reference in a new issue