mirror of
https://github.com/getbible/app.git
synced 2024-12-21 23:48:53 +00:00
Fixed get method return empty object, fixes #1
This commit is contained in:
parent
d1ffc57dc3
commit
2f84e963c8
@ -120,7 +120,7 @@ export default {
|
||||
store.openCursor().onsuccess = e => {
|
||||
let cursor = e.target.result;
|
||||
if (cursor) {
|
||||
if(keyPath == cursor.value.keyPath)
|
||||
if(keyPath == cursor.value['abbreviation'])
|
||||
tr = cursor.value
|
||||
cursor.continue();
|
||||
}
|
||||
@ -131,7 +131,6 @@ export default {
|
||||
trans.onabort = e => {
|
||||
reject(e)
|
||||
}
|
||||
trans.commit();
|
||||
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user