feat: Update header user dropdown back to Order History (#206)

REV-3693
This commit is contained in:
Juliana Kang
2023-09-18 10:34:49 -04:00
committed by GitHub
4 changed files with 8 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ export const CollapseMenuBody = ({ isOpen }) => {
variant="inverse-primary"
href={getConfig().ORDER_HISTORY_URL}
>
{formatMessage(messages.ordersAndSubscriptions)}
{formatMessage(messages.orderHistory)}
</Button>
)}
<Button

View File

@@ -55,7 +55,7 @@ export const AuthenticatedUserDropdown = () => {
</Dropdown.Item>
{getConfig().ORDER_HISTORY_URL && (
<Dropdown.Item href={getConfig().ORDER_HISTORY_URL}>
{formatMessage(messages.ordersAndSubscriptions)}
{formatMessage(messages.orderHistory)}
</Dropdown.Item>
)}
<Dropdown.Divider />

View File

@@ -55,7 +55,7 @@ exports[`AuthenticatedUserDropdown snapshots with enterprise dashboard 1`] = `
<Dropdown.Item
href="http://order-history-url.test"
>
Orders & Subscriptions
Order History
</Dropdown.Item>
<Dropdown.Divider />
<Dropdown.Item
@@ -122,7 +122,7 @@ exports[`AuthenticatedUserDropdown snapshots without enterprise dashboard and ex
<Dropdown.Item
href="http://order-history-url.test"
>
Orders & Subscriptions
Order History
</Dropdown.Item>
<Dropdown.Divider />
<Dropdown.Item

View File

@@ -26,10 +26,10 @@ const messages = defineMessages({
defaultMessage: 'Account',
description: 'The text for the user menu Account navigation link.',
},
ordersAndSubscriptions: {
id: 'learnerVariantDashboard.menu.ordersAndSubscriptions.label',
defaultMessage: 'Orders & Subscriptions',
description: 'The text for the user menu Orders & Subscriptions navigation link.',
orderHistory: {
id: 'learnerVariantDashboard.menu.orderHistory.label',
defaultMessage: 'Order History',
description: 'The text for the user menu Order History navigation link.',
},
signOut: {
id: 'learnerVariantDashboard.menu.signOut.label',