Skip to content

Commit

Permalink
feat: Update header user dropdown back to Order History (#208)
Browse files Browse the repository at this point in the history
REV-3693
  • Loading branch information
julianajlk authored Oct 2, 2023
2 parents 0c1fa2f + 4b20c5b commit c977de2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const CollapseMenuBody = ({ isOpen }) => {
variant="inverse-primary"
href={getConfig().ORDER_HISTORY_URL}
>
{formatMessage(messages.ordersAndSubscriptions)}
{formatMessage(messages.orderHistory)}
</Button>
)}
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/containers/LearnerDashboardHeader/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c977de2

Please sign in to comment.