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

Commit 31efa8a

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/views/CallLogView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default class CallLogView extends BaseElement{
4949
getCallLogs(element){
5050
if (!this.callLogQuery.hasNext || this.callLogQuery.isLoading) return;
5151
this.callLogQuery.next((directCallLog) => {
52-
if( directCallLog ){
52+
if (!directCallLog) return;
5353
if( directCallLog.length > 0 ) {
5454
for( let i = 0; i < directCallLog.length; i++ ){
5555
let callItem = null;

0 commit comments

Comments
 (0)