summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/control_panel
diff options
context:
space:
mode:
authorpka-odoo <pka@odoo.com>2020-05-04 09:05:51 +0000
committerAaron Bohy <aab@odoo.com>2020-05-04 14:31:11 +0000
commitc80fa71adbb2410b4ed5328f9093502969ff02bb (patch)
treee9f369950f8fb36b842f6e78f8a444a985f295a5 /addons/web/static/src/js/control_panel
parent470fa48686f5ac430f0f7eb0853cf2c81dca62c0 (diff)
[IMP] web,*: search menus always visible
Part of task 2234547 Co-authored-by: Mohammed Shekha <msh@odoo.com> Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/control_panel')
-rw-r--r--addons/web/static/src/js/control_panel/control_panel.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/web/static/src/js/control_panel/control_panel.js b/addons/web/static/src/js/control_panel/control_panel.js
index fee26c3779d..5d42cfc2fbe 100644
--- a/addons/web/static/src/js/control_panel/control_panel.js
+++ b/addons/web/static/src/js/control_panel/control_panel.js
@@ -13,7 +13,7 @@ odoo.define('web.ControlPanel', function (require) {
const { useModel } = require('web.model');
const { Component, hooks } = owl;
- const { useRef, useState, useSubEnv } = hooks;
+ const { useRef, useSubEnv } = hooks;
/**
* TODO: remove this whole mechanism as soon as `cp_content` is completely removed.
@@ -116,9 +116,6 @@ odoo.define('web.ControlPanel', function (require) {
if (this.env.controlPanelModel) {
this.model = useModel('controlPanelModel');
}
- this.state = useState({
- displayDropdowns: true,
- });
// Reference hooks
this.contentRefs = {