@odoo/o-spreadsheet 19.0.35 → 19.0.37

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 19.0.35
5
- @date 2026-05-15T07:06:10.287Z
6
- @hash 5de341b
4
+ @version 19.0.37
5
+ @date 2026-06-06T06:22:22.239Z
6
+ @hash 41aace0
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -4423,6 +4423,7 @@
4423
4423
  t-on-pointerdown.prevent=""
4424
4424
  t-on-click.stop=""
4425
4425
  t-on-contextmenu.prevent="">
4426
+ <t t-set="shouldDisplayIcons" t-value="this.childrenHaveIcon"/>
4426
4427
  <t t-foreach="props.menuItems" t-as="menuItem" t-key="menuItem_index">
4427
4428
  <div t-if="menuItem === 'separator'" class="o-separator"/>
4428
4429
  <t t-else="">
@@ -4441,7 +4442,7 @@
4441
4442
  t-att-style="getColor(menuItem)">
4442
4443
  <div class="d-flex w-100">
4443
4444
  <div
4444
- t-if="childrenHaveIcon"
4445
+ t-if="shouldDisplayIcons"
4445
4446
  class="o-menu-item-icon d-flex align-items-center flex-shrink-0"
4446
4447
  t-att-style="getIconColor(menuItem)">
4447
4448
  <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": "19.0.35",
3
+ "version": "19.0.37",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",