Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit 0992361

Browse files
danney-chunDongjin Jung
andauthored
Update lib/views/CallLogView.js
Co-authored-by: Dongjin Jung <cobb.jung@sendbird.com>
1 parent 7950924 commit 0992361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/views/CallLogView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class CallLogView extends BaseElement{
4747
}
4848

4949
getCallLogs(element){
50-
if( this.callLogQuery.hasNext && !this.callLogQuery.isLoading ) {
50+
if (!this.callLogQuery.hasNext || this.callLogQuery.isLoading) return;
5151
this.callLogQuery.next((directCallLog) => {
5252
if( directCallLog ){
5353
if( directCallLog.length > 0 ) {
@@ -75,4 +75,4 @@ export default class CallLogView extends BaseElement{
7575
});
7676
}
7777
}
78-
}
78+
}

0 commit comments

Comments
 (0)