[IMP] mail: remove useless 't-ref="header"'

Task-2694206

Part-of: odoo/odoo#81801
This commit is contained in:
Alexandre Kühn
2021-12-23 18:26:19 +00:00
parent 79d6f1db60
commit 0e51782d59
2 changed files with 0 additions and 6 deletions
@@ -15,11 +15,6 @@ export class ChatWindow extends Component {
setup() {
super.setup();
useUpdate({ func: () => this._update() });
/**
* Reference of the header of the chat window.
* Useful to prevent click on header from wrongly focusing the window.
*/
this._chatWindowHeaderRef = useRef('header');
/**
* Reference of the autocomplete input (new_message chat window only).
* Useful when focusing this chat window, which consists of focusing
@@ -18,7 +18,6 @@
hasCloseAsBackButton="props.hasCloseAsBackButton"
isExpandable="props.isExpandable"
onClicked="_onClickedHeader"
t-ref="header"
/>
<t t-if="chatWindow.thread and chatWindow.thread.hasMemberListFeature and chatWindow.isMemberListOpened">
<ChannelMemberList channelLocalId="chatWindow.thread.localId" className="'bg-white'"/>