Skip to content

Passing undefined to message of notification toast will throw exception #3383

@compulim

Description

@compulim

Version

4.9.2 or master

Describe the bug

Passing undefined to message of notification toast will throw exception.

Steps to reproduce

  1. Call SET_NOTIFICATION or useSetNotification hook, with a structure of {}

Expected behavior

Web Chat should show an empty toast, or a red box.

Additional context

[Bug]

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.external-omnichannel

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions