Skip to content

Conversation

@MarcosSpessatto
Copy link
Contributor

No description provided.


if (currentData && currentData.rid) {
this.pageVisited = this.subscribe('livechat:visitorPageVisited', { rid: currentData.rid });
const { pages } = await APIClient.v1.get(`livechat/visitors.pagesVisited?roomId=${ currentData.rid }`);

Choose a reason for hiding this comment

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

We need to use pagination here, otherwise, only the first fetch will be displayed.

Copy link

@renatobecker-zz renatobecker-zz left a comment

Choose a reason for hiding this comment

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

There is no way to get more data after the first fetch.

@renatobecker-zz
Copy link

@MarcosSpessatto this PR is not passing through the tests, can you please fix it?
Thanks.

@renatobecker-zz renatobecker-zz merged commit f7cfe61 into develop Nov 14, 2019
@renatobecker-zz renatobecker-zz deleted the replace-livechat-pages-visited-pub branch November 14, 2019 12:37
@sampaiodiego sampaiodiego mentioned this pull request Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants