[IMP] mail: remove useless 't-ref="startAMeetingButton"'
Task-2694206 closes odoo/odoo#81801 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
import { registerMessagingComponent } from '@mail/utils/messaging_component';
|
||||
import { useRefToModel } from '@mail/component_hooks/use_ref_to_model/use_ref_to_model';
|
||||
import { useUpdate } from '@mail/component_hooks/use_update/use_update';
|
||||
|
||||
const { Component } = owl;
|
||||
@@ -15,7 +14,6 @@ export class DiscussSidebar extends Component {
|
||||
setup() {
|
||||
super.setup();
|
||||
useUpdate({ func: () => this._update() });
|
||||
useRefToModel({ fieldName: 'startAMeetingButtonRef', modelName: 'Discuss', propNameAsRecordLocalId: 'localId', refName: 'startAMeetingButton' });
|
||||
/**
|
||||
* Reference of the quick search input. Useful to filter channels and
|
||||
* chats based on this input content.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<t t-name="mail.DiscussSidebar" owl="1">
|
||||
<div name="root" class="o_DiscussSidebar" t-attf-class="{{ className }}" t-ref="root">
|
||||
<div class="d-flex justify-content-center">
|
||||
<button class="o_DiscussSidebar_startAMeetingButton btn btn-primary rounded" title="Start a meeting" t-on-click="discuss.onClickStartAMeetingButton" t-ref="startAMeetingButton">
|
||||
<button class="o_DiscussSidebar_startAMeetingButton btn btn-primary rounded" title="Start a meeting" t-on-click="discuss.onClickStartAMeetingButton">
|
||||
Start a meeting
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -394,11 +394,6 @@ registerModel({
|
||||
sidebarQuickSearchValue: attr({
|
||||
default: "",
|
||||
}),
|
||||
/**
|
||||
* States the OWL ref of the start a meeting button in sidebar.
|
||||
* Useful to provide anchor for the invite popover positioning.
|
||||
*/
|
||||
startAMeetingButtonRef: attr(),
|
||||
/**
|
||||
* Determines the `Thread` that should be displayed by `this`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user