Revert "feat: Update header user dropdown back to Order History"
This commit is contained in:
@@ -81,7 +81,7 @@ export const CollapseMenuBody = ({ isOpen }) => {
|
||||
variant="inverse-primary"
|
||||
href={getConfig().ORDER_HISTORY_URL}
|
||||
>
|
||||
{formatMessage(messages.orderHistory)}
|
||||
{formatMessage(messages.ordersAndSubscriptions)}
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
|
||||
@@ -55,7 +55,7 @@ export const AuthenticatedUserDropdown = () => {
|
||||
</Dropdown.Item>
|
||||
{getConfig().ORDER_HISTORY_URL && (
|
||||
<Dropdown.Item href={getConfig().ORDER_HISTORY_URL}>
|
||||
{formatMessage(messages.orderHistory)}
|
||||
{formatMessage(messages.ordersAndSubscriptions)}
|
||||
</Dropdown.Item>
|
||||
)}
|
||||
<Dropdown.Divider />
|
||||
|
||||
@@ -55,7 +55,7 @@ exports[`AuthenticatedUserDropdown snapshots with enterprise dashboard 1`] = `
|
||||
<Dropdown.Item
|
||||
href="http://order-history-url.test"
|
||||
>
|
||||
Order History
|
||||
Orders & Subscriptions
|
||||
</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"
|
||||
>
|
||||
Order History
|
||||
Orders & Subscriptions
|
||||
</Dropdown.Item>
|
||||
<Dropdown.Divider />
|
||||
<Dropdown.Item
|
||||
|
||||
@@ -26,10 +26,10 @@ const messages = defineMessages({
|
||||
defaultMessage: 'Account',
|
||||
description: 'The text for the user menu Account navigation link.',
|
||||
},
|
||||
orderHistory: {
|
||||
id: 'learnerVariantDashboard.menu.orderHistory.label',
|
||||
defaultMessage: 'Order History',
|
||||
description: 'The text for the user menu Order History navigation link.',
|
||||
ordersAndSubscriptions: {
|
||||
id: 'learnerVariantDashboard.menu.ordersAndSubscriptions.label',
|
||||
defaultMessage: 'Orders & Subscriptions',
|
||||
description: 'The text for the user menu Orders & Subscriptions navigation link.',
|
||||
},
|
||||
signOut: {
|
||||
id: 'learnerVariantDashboard.menu.signOut.label',
|
||||
|
||||
Reference in New Issue
Block a user