browser: fix print menu for Calc

Changed the menu entries to conform to the new format used by
JSDialog menu since 07da50a.

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I69109675ec69d66eb25ae128a6bb102e4628c705
pull/9075/head
Jaume Pujantell 2024-05-16 10:54:00 +02:00 committed by Gökay ŞATIR
parent 1ea58908be
commit 3853d9b7bc
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ menuDefinitions.set('MenuPrintRanges', [
] as Array<MenuDefinition>);
menuDefinitions.set('Print', [
{ text: _('Active sheet'), id: 'print-active-sheet', type: 'action' },
{ text: _('All Sheets'), id: 'print-all-sheets', type: 'action' },
{ text: _('Active sheet'), action: 'print-active-sheet' },
{ text: _('All Sheets'), action: 'print-all-sheets' },
] as Array<MenuDefinition>);
menuDefinitions.set('MenuRowHeight', [