Fix loading search media tab if response is empty
This commit is contained in:
parent
eefeca23a1
commit
5fb6ed7b35
@ -392,7 +392,7 @@ export default class AppSearchSuper {
|
|||||||
this.searchGroupMedia = new SearchGroup(false, 'messages', true);
|
this.searchGroupMedia = new SearchGroup(false, 'messages', true);
|
||||||
|
|
||||||
this.scrollable.onScrolledBottom = () => {
|
this.scrollable.onScrolledBottom = () => {
|
||||||
if(this.mediaTab.contentTab && this.mediaTab.contentTab.childElementCount/* && false */) {
|
if(this.mediaTab.contentTab && !this.loaded[this.mediaTab.inputFilter]/* && false */) {
|
||||||
//this.log('onScrolledBottom will load media');
|
//this.log('onScrolledBottom will load media');
|
||||||
this.load(true);
|
this.load(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user