Skip to content

Commit 8e54253

Browse files
committed
[18.0][FIX] web_notify: drop obsolete notification prop
1 parent 816075c commit 8e54253

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

web_notify/static/src/js/services/notification_services.esm.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ export const webNotificationService = {
2222
];
2323
}
2424

25+
const message = notification.html
26+
? markup(notification.message)
27+
: notification.message;
28+
2529
const notificationRemove = notificationService.add(
26-
markup(notification.message),
30+
message,
2731
{
2832
title: notification.title,
2933
type: notification.type,
3034
sticky: notification.sticky,
3135
className: notification.className,
32-
messageIsHtml: notification.html,
3336
buttons: buttons.map((button) => {
3437
const onClick = button.onClick;
3538
button.onClick = async () => {

0 commit comments

Comments
 (0)