diff --git a/addons/mail/static/src/components/notification_request/notification_request.js b/addons/mail/static/src/components/notification_request/notification_request.js index ca1dabfbd0e..5a688bf715c 100644 --- a/addons/mail/static/src/components/notification_request/notification_request.js +++ b/addons/mail/static/src/components/notification_request/notification_request.js @@ -20,6 +20,13 @@ export class NotificationRequest extends Component { ); } + /** + * @returns {NotificationRequestView} + */ + get notificationRequestView() { + return this.messaging && this.messaging.models['NotificationRequestView'].get(this.props.localId); + } + //-------------------------------------------------------------------------- // Private //-------------------------------------------------------------------------- diff --git a/addons/mail/static/src/components/notification_request/notification_request.xml b/addons/mail/static/src/components/notification_request/notification_request.xml index deaecb1732c..aec25c359a4 100644 --- a/addons/mail/static/src/components/notification_request/notification_request.xml +++ b/addons/mail/static/src/components/notification_request/notification_request.xml @@ -2,8 +2,8 @@ -
- + +
Avatar of OdooBot @@ -26,8 +26,8 @@
- -
+
+