mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
- Use ES6 in js files - Update screenshots - Clean old lint exceptions - New icon TT38350
13 lines
338 B
JavaScript
13 lines
338 B
JavaScript
/** @odoo-module */
|
|
import {Notification} from "@web/core/notifications/notification";
|
|
import {patch} from "web.utils";
|
|
|
|
patch(Notification.props, "webNotifyProps", {
|
|
type: {
|
|
type: String,
|
|
optional: true,
|
|
validate: (t) =>
|
|
["warning", "danger", "success", "info", "default"].includes(t),
|
|
},
|
|
});
|