mirror of https://github.com/OCA/web.git
13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
/** @odoo-module */
|
|
import {Notification} from "@web/core/notifications/notification";
|
|
import {patch} from "@web/core/utils/patch";
|
|
|
|
patch(Notification.props, {
|
|
type: {
|
|
type: String,
|
|
optional: true,
|
|
validate: (t) =>
|
|
["warning", "danger", "success", "info", "default"].includes(t),
|
|
},
|
|
});
|