-
- Downloads
[REF] web: force dropdown menu icon through getter
Before this ref, the dropdown menu got his icon directly from his props. This means that any inheriting class had either to define its icon with the 'default_props' key or to have its parent giving it in the props. Now, the icon is retrieved from the props via a getter (same as title and items) and can be overridden to force a fixed icon on the class.
Showing
- addons/web/static/src/js/components/dropdown_menu.js 8 additions, 0 deletionsaddons/web/static/src/js/components/dropdown_menu.js
- addons/web/static/src/js/control_panel/favorite_menu.js 8 additions, 3 deletionsaddons/web/static/src/js/control_panel/favorite_menu.js
- addons/web/static/src/js/control_panel/filter_menu.js 9 additions, 4 deletionsaddons/web/static/src/js/control_panel/filter_menu.js
- addons/web/static/src/js/control_panel/groupby_menu.js 9 additions, 5 deletionsaddons/web/static/src/js/control_panel/groupby_menu.js
- addons/web/static/src/js/control_panel/search_utils.js 4 additions, 4 deletionsaddons/web/static/src/js/control_panel/search_utils.js
- addons/web/static/src/xml/base.xml 2 additions, 2 deletionsaddons/web/static/src/xml/base.xml
Loading
Please register or sign in to comment