New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fixes error in ChatList component #8266
Conversation
✅ Deploy Preview for chatwoot-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -410,8 +410,10 @@ export default { | |||
}, | |||
conversationListPagination() { | |||
const conversationsPerPage = 25; | |||
const hasChatsOnView = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamsivin Can you check if this is the same since arrays cannot be explicitly compared this.chatsOnView !== []
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nithindavid This change will introduce the same bug there was before. https://linear.app/chatwoot/issue/CW-1424/pagination-not-working-properly
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Checklist: