@odoo/o-spreadsheet 18.4.40 → 18.4.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 18.4.40
5
- @date 2026-05-15T07:04:47.202Z
6
- @hash bb1e6d6
4
+ @version 18.4.42
5
+ @date 2026-06-06T06:21:28.823Z
6
+ @hash bae6e25
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -4150,6 +4150,7 @@
4150
4150
  t-on-pointerdown.prevent=""
4151
4151
  t-on-click.stop=""
4152
4152
  t-on-contextmenu.prevent="">
4153
+ <t t-set="shouldDisplayIcons" t-value="this.childrenHaveIcon"/>
4153
4154
  <t t-foreach="props.menuItems" t-as="menuItem" t-key="menuItem_index">
4154
4155
  <div t-if="menuItem === 'separator'" class="o-separator"/>
4155
4156
  <t t-else="">
@@ -4168,7 +4169,7 @@
4168
4169
  t-att-style="getColor(menuItem)">
4169
4170
  <div class="d-flex w-100">
4170
4171
  <div
4171
- t-if="childrenHaveIcon"
4172
+ t-if="shouldDisplayIcons"
4172
4173
  class="o-menu-item-icon d-flex align-items-center flex-shrink-0"
4173
4174
  t-att-style="getIconColor(menuItem)">
4174
4175
  <t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.4.40",
3
+ "version": "18.4.42",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",