Skip to content

Commit

Permalink
[ADD] show message under html format
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenminhchien authored and baimont committed Apr 11, 2023
1 parent 28b8e6d commit 785a4fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @odoo-module **/
import {browser} from "@web/core/browser/browser";
import {registry} from "@web/core/registry";
const {Markup} = require('web.utils');

export const webNotificationService = {
dependencies: ["bus_service", "notification"],
Expand All @@ -19,7 +20,7 @@ export const webNotificationService = {

notifications.forEach(function (notif) {
browser.setTimeout(function () {
notification.add(notif.message, {
notification.add(Markup(notif.message), {
title: notif.title,
type: notif.type,
sticky: notif.sticky,
Expand Down

0 comments on commit 785a4fc

Please sign in to comment.