From d8708bab2fcf6cc5eb5380c6dca42506af878942 Mon Sep 17 00:00:00 2001 From: Rhys Howell Date: Tue, 18 Feb 2025 11:07:21 -0500 Subject: [PATCH] chore(compass): update restart menu item text to restart to update --- packages/compass/src/main/menu.spec.ts | 4 ++-- packages/compass/src/main/menu.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/compass/src/main/menu.spec.ts b/packages/compass/src/main/menu.spec.ts index defb4fda95e..71b1495209f 100644 --- a/packages/compass/src/main/menu.spec.ts +++ b/packages/compass/src/main/menu.spec.ts @@ -209,7 +209,7 @@ describe('CompassMenu', function () { const updateItem = ( menu[0].submenu as any )?.[1] as MenuItemConstructorOptions; - expect(updateItem.label).to.equal('Restart'); + expect(updateItem.label).to.equal('Restart to Update'); } }); }); @@ -280,7 +280,7 @@ describe('CompassMenu', function () { const updateItem = ( menu[3].submenu as any )?.[8] as MenuItemConstructorOptions; - expect(updateItem.label).to.equal('Restart'); + expect(updateItem.label).to.equal('Restart to Update'); } }); }); diff --git a/packages/compass/src/main/menu.ts b/packages/compass/src/main/menu.ts index 813dbe92d04..cba1b1ad2e8 100644 --- a/packages/compass/src/main/menu.ts +++ b/packages/compass/src/main/menu.ts @@ -90,7 +90,7 @@ function updateSubmenu( enabled: false, } : { - label: 'Restart', + label: 'Restart to Update', click() { compassApp.emit('menu-request-restart'); },