Skip to content

Conversation

@amylas
Copy link
Contributor

@amylas amylas commented Jul 18, 2018

add call log search function.

type: this.actionTypes.updateSearchInput,
input,
});
}
Copy link
Contributor

@sophiewu2333 sophiewu2333 Jul 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

if (
(call.direction === 'Inbound' && call.fromMatches[0].name.toLowerCase().indexOf(searchString) > -1) ||
(call.direction === 'Outbound' && call.toMatches[0] && call.toMatches[0].name.toLowerCase().indexOf(searchString) > -1)
) {
Copy link
Contributor

@sophiewu2333 sophiewu2333 Jul 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should check that call.toMatches[0].name not undefined

@amylas amylas merged commit 315c0d5 into ringcentral:master Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants