diff --git a/addons/mail/static/src/components/chatter_topbar/chatter_topbar.xml b/addons/mail/static/src/components/chatter_topbar/chatter_topbar.xml
index d1bb0da2c86..094b05b32f5 100644
--- a/addons/mail/static/src/components/chatter_topbar/chatter_topbar.xml
+++ b/addons/mail/static/src/components/chatter_topbar/chatter_topbar.xml
@@ -62,8 +62,6 @@
diff --git a/addons/mail/static/src/components/follower/follower.js b/addons/mail/static/src/components/follower/follower.js
index 123e4772da5..05523b2e38b 100644
--- a/addons/mail/static/src/components/follower/follower.js
+++ b/addons/mail/static/src/components/follower/follower.js
@@ -5,31 +5,16 @@ import { registerMessagingComponent } from '@mail/utils/messaging_component';
const { Component } = owl;
export class Follower extends Component {
-
- //--------------------------------------------------------------------------
- // Public
- //--------------------------------------------------------------------------
-
/**
- * @returns {Follower}
+ * @returns {FollowerView}
*/
- get follower() {
- return this.props.follower;
+ get followerView() {
+ return this.props.record;
}
-
}
Object.assign(Follower, {
- defaultProps: {
- onClick: () => {},
- },
- props: {
- follower: Object,
- onClick: {
- type: Function,
- optional: true,
- },
- },
+ props: { record: Object },
template: 'mail.Follower',
});
diff --git a/addons/mail/static/src/components/follower/follower.xml b/addons/mail/static/src/components/follower/follower.xml
index 4f9cf41ca65..f2ba85cebd3 100644
--- a/addons/mail/static/src/components/follower/follower.xml
+++ b/addons/mail/static/src/components/follower/follower.xml
@@ -2,17 +2,17 @@
-
-
-
-
-
+
+
+
+
+
-
-