Fixed initial node when visiting page
This commit is contained in:
parent
303c7d9b2d
commit
b1c85d96e9
3 changed files with 29 additions and 17 deletions
|
|
@ -456,7 +456,7 @@ class NodeHistoryStore extends SimpleNodeStore {
|
|||
request.onerror = (event) => reject(event.target.error)
|
||||
})
|
||||
}//}}}
|
||||
hasNode(uuid, updated) {
|
||||
hasNode(uuid, updated) {// {{{
|
||||
return new Promise((resolve, reject) => {
|
||||
const req = this.db
|
||||
.transaction(['nodes', this.storeName], 'readonly')
|
||||
|
|
@ -472,7 +472,7 @@ class NodeHistoryStore extends SimpleNodeStore {
|
|||
reject(event.target.error)
|
||||
}
|
||||
})
|
||||
}
|
||||
}// }}}
|
||||
retrievePage(uuid, perPage, page) {// {{{
|
||||
return new Promise((resolve, _reject) => {
|
||||
const cursor = this.db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue