Skip to content

🐛 Bug Report: Console Error on Notification Click #8358

@MajaEffenberg

Description

@MajaEffenberg

📜 Description

When clicking on a notification in the UI widget, an error sometimes appears in the browser console. The issue seems to originate from the handleNotificationClick function in the @novu/js library.

The error happens on line 3448 of the index.mjs file
Image
Image

👟 Reproduction steps

Click on a specific notification in the UI — the error appears in the browser console.

👍 Expected behavior

Clicking a notification should work reliably without throwing any errors in the console.

👎 Actual Behavior with Screenshots

Error in console:
Image

Novu version

Self Hosted, latest

npm version

No response

node version

No response

📃 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions