Display "View store" button text by default. (#48690)

* Display "View store" button text by default.

* Add changelog.
This commit is contained in:
Gan Eng Chin 2024-06-24 19:25:55 +08:00 committed by GitHub
parent 3b00882aed
commit 841d00e150
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -376,8 +376,7 @@ export const ActivityPanel = ( { isEmbedded, query } ) => {
title:
( comingSoon === 'yes' &&
__( 'Preview store', 'woocommerce' ) ) ||
( comingSoon === 'no' && __( 'View store', 'woocommerce' ) ) ||
'',
__( 'View store', 'woocommerce' ),
visible: isHomescreen && query.task !== 'appearance',
onClick: () => {
window.open( getAdminSetting( 'shopUrl' ) );

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Display "View store" button text by default in the toolbar.