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

Narrow type of NotificationData #7097

Merged
merged 2 commits into from
Nov 16, 2024
Merged

Narrow type of NotificationData #7097

merged 2 commits into from
Nov 16, 2024

Conversation

twiddler
Copy link
Contributor

@twiddler twiddler commented Nov 8, 2024

e78a9bb fixed #5640, but made the NotificationData type overly broad.

This change limits the additional keys to those that start with data-. This allows passing data- attributes and narrowing the type.

@rtivital rtivital merged commit fd8de18 into mantinedev:master Nov 16, 2024
1 check passed
@rtivital
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

showNotification doesn't support data-* attributes
2 participants