@odoo/o-spreadsheet 19.1.21 → 19.1.22

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.1.21
5
- @date 2026-05-27T05:56:50.798Z
6
- @hash 99ebe93
4
+ @version 19.1.22
5
+ @date 2026-06-06T06:23:20.125Z
6
+ @hash 97a02db
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -4845,6 +4845,7 @@
4845
4845
  t-on-pointerdown.prevent=""
4846
4846
  t-on-click.stop=""
4847
4847
  t-on-contextmenu.prevent="">
4848
+ <t t-set="shouldDisplayIcons" t-value="this.childrenHaveIcon"/>
4848
4849
  <t t-foreach="props.menuItems" t-as="menuItem" t-key="menuItem_index">
4849
4850
  <div t-if="menuItem === 'separator'" class="o-separator border-bottom"/>
4850
4851
  <t t-else="">
@@ -4863,7 +4864,7 @@
4863
4864
  t-att-style="getColor(menuItem)">
4864
4865
  <div class="d-flex w-100">
4865
4866
  <div
4866
- t-if="childrenHaveIcon"
4867
+ t-if="shouldDisplayIcons"
4867
4868
  class="o-menu-item-icon d-flex align-items-center flex-shrink-0"
4868
4869
  t-att-style="getIconColor(menuItem)">
4869
4870
  <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.1.21",
3
+ "version": "19.1.22",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",