Skip to content
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

[#2591] inbox counter not updating properly #2606

Merged
merged 4 commits into from Nov 19, 2021

Conversation

AudreyKj
Copy link
Contributor

closes #2591 + #2528 + #2005

@@ -9,7 +9,7 @@
padding-top: 88px;
width: 100%;
padding: 32px;
margin: 88px 1.5em 0 100px;
margin: 88px 1.5em 0 16px;
min-height: calc(100vh - 170px);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

IG channel UI fix

if (Object.entries(currentFilter).length !== 0) {
setFilter(currentFilter);
}

setButtonStateEnabled(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed counter not updating when changing state on filtering conversations

: formatConversationCount(filteredPaginationData.total)
})`
);
}, [totalConversations, filteredPaginationData.total]);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed counter not updating in the tab

@@ -0,0 +1,3 @@
export function formatConversationCount(count: number): string {
return Intl.NumberFormat('en-US').format(count);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

formatting of the inbox counter number (#2005)

Copy link
Contributor

@stayprodio stayprodio left a comment

Choose a reason for hiding this comment

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

LGTM

@AudreyKj AudreyKj merged commit f5d1251 into develop Nov 19, 2021
@AudreyKj AudreyKj deleted the bug/2591-inbox-counter-not-updating-properly branch November 19, 2021 14:19
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.

Inbox Counter not updating properly
2 participants