Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
f86a2fe50b
commit
38476248d6
3 changed files with 12 additions and 3 deletions
|
@ -240,7 +240,10 @@
|
|||
|
||||
Photo.search(params).then(response => {
|
||||
this.results = Photo.mergeResponse(this.results, response);
|
||||
this.viewer.results = [];
|
||||
|
||||
if(offset === 0) {
|
||||
this.viewer.results = [];
|
||||
}
|
||||
|
||||
this.scrollDisabled = (response.count < count);
|
||||
|
||||
|
|
|
@ -275,7 +275,10 @@
|
|||
|
||||
Photo.search(params).then(response => {
|
||||
this.results = Photo.mergeResponse(this.results, response);
|
||||
this.viewer.results = [];
|
||||
|
||||
if(offset === 0) {
|
||||
this.viewer.results = [];
|
||||
}
|
||||
|
||||
this.scrollDisabled = (response.count < count);
|
||||
|
||||
|
|
|
@ -283,7 +283,10 @@
|
|||
|
||||
Photo.search(params).then(response => {
|
||||
this.results = Photo.mergeResponse(this.results, response);
|
||||
this.viewer.results = [];
|
||||
|
||||
if(offset === 0) {
|
||||
this.viewer.results = [];
|
||||
}
|
||||
|
||||
this.scrollDisabled = (response.count < count);
|
||||
|
||||
|
|
Loading…
Reference in a new issue