From adc62e21e65dd58852030755c5ecaca7b002239b Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Tue, 10 May 2022 09:24:40 +0000 Subject: [PATCH] [REF] mail: remove unused code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit part of task-2692836 closes odoo/odoo#91295 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/models/user_setting.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/addons/mail/static/src/models/user_setting.js b/addons/mail/static/src/models/user_setting.js index 58489aeca02..53be5475ae3 100644 --- a/addons/mail/static/src/models/user_setting.js +++ b/addons/mail/static/src/models/user_setting.js @@ -160,9 +160,6 @@ registerModel({ this._saveSettings(); } }, - toggleLayoutSettingsWindow() { - this.update({ isRtcLayoutSettingDialogOpen: !this.isRtcLayoutSettingDialogOpen }); - }, /** * toggles the display of the option window */ @@ -269,12 +266,6 @@ registerModel({ readonly: true, required: true, }), - /** - * true if the dialog for the call viewer layout is open - */ - isRtcLayoutSettingDialogOpen: attr({ - default: false, - }), /** * Formatted string that represent the push to talk key with its modifiers. */