Library => Purchased on web

This commit is contained in:
Sean Yesmunt 2020-07-23 10:41:45 -04:00
parent 642e3663f7
commit f94cf9da93

View file

@ -85,7 +85,7 @@ function SideNavigation(props: Props) {
}
}, [setPulseLibrary, purchaseSuccess, doClearPurchasedUriSuccess]);
function buildLink(path, label, icon, onClick, requiresAuth = false, isLiteral = false) {
function buildLink(path, label, icon, onClick, requiresAuth = false, isLiteral = false) {
return {
navigate: !isLiteral ? `$/${path}` : `${path}`,
label,
@ -136,7 +136,7 @@ function SideNavigation(props: Props) {
...buildLink(PAGES.DISCOVER, __('All Content'), ICONS.DISCOVER),
},
{
...buildLink(PAGES.LIBRARY, __('Library'), ICONS.LIBRARY),
...buildLink(PAGES.LIBRARY, IS_WEB ? __('Purchased') : __('Library'), ICONS.LIBRARY),
},
// @if TARGET='web'
{