[FIX] web: fix notification position

This commit fixes the position of the notification
manager which was wrongly placed in the dom and
caused the notifications to be behind dialog's backdrop.

closes odoo/odoo#127631

X-original-commit: 381d574974bcfe274291628889459148ad741812
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
Signed-off-by: Michaël Mattiello (mcm) <mcm@odoo.com>
This commit is contained in:
Michael (mcm)
2023-07-07 10:52:50 +02:00
parent 063b98bf83
commit c5ceb2fd5e
@@ -29,10 +29,14 @@ export const notificationService = {
let notifId = 0;
const notifications = reactive({});
registry.category("main_components").add("NotificationContainer", {
Component: NotificationContainer,
props: { notifications },
});
registry.category("main_components").add(
"NotificationContainer",
{
Component: NotificationContainer,
props: { notifications },
},
{ sequence: 100 }
);
/**
* @param {string} message