Skip to content

Commit

Permalink
ELEMENTS-1257: fix reset when fetching in page provider display behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mnixo committed Oct 19, 2020
1 parent 4766bdc commit 57a5b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/nuxeo-page-provider-display-behavior.js
Expand Up @@ -598,7 +598,7 @@ export const PageProviderDisplayBehavior = [
}
}
if (clear || this.items.length !== count) {
this.reset(count);
this.reset(response.pageSize < count ? response.pageSize : count);
}

// fill items range based on response
Expand Down

0 comments on commit 57a5b4b

Please sign in to comment.