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

🐛 Bug Report: useCounts returns a maximum of 99 unread notifications with read filter #7729

Open
2 tasks done
jayanth-karri22 opened this issue Feb 17, 2025 · 1 comment

Comments

@jayanth-karri22
Copy link

📜 Description

I don't see any documentation on fetching Counts with limit more than 100.

👟 Reproduction steps

const { counts, refetch } = useCounts({
	filters: [{ read: false }],
});

    Make sure number of unread are more than 99 and try to refetch counts doesn't get updated

👍 Expected behavior

Hook should support a param limit

👎 Actual Behavior with Screenshots

There is no support for limit param. Couldn't find in documentation

Novu version

@novu/react": "^2.6.3", "@novu/node": "^2.0.1", "@novu/framework": "^2.3.0",

npm version

10.7.0

node version

22.2.0

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant