Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Gottschalk
bmdl-expert-modeler
Commits
e3eee72d
Commit
e3eee72d
authored
Nov 15, 2021
by
Alexander Philipp Nowosad
Browse files
Fix pouchdb service docCount for bookmarks
parent
fc014701
Changes
1
Show whitespace changes
Inline
Side-by-side
src/app/database/pouchdb.service.ts
View file @
e3eee72d
...
...
@@ -251,7 +251,7 @@ export class PouchdbService {
const
response
=
await
this
.
getDb
().
find
(
request
);
if
(
'
bookmark
'
in
response
)
{
const
couchDbResponse
=
response
as
CouchDBFindResponse
;
let
docCount
=
1
;
let
docCount
=
couchDbResponse
.
docs
.
length
;
while
(
docCount
>
0
&&
couchDbResponse
.
bookmark
!=
null
)
{
const
nextPage
=
await
this
.
getDb
().
find
({
...
request
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment