Library => Purchased on web
This commit is contained in:
parent
642e3663f7
commit
f94cf9da93
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ function SideNavigation(props: Props) {
|
||||||
}
|
}
|
||||||
}, [setPulseLibrary, purchaseSuccess, doClearPurchasedUriSuccess]);
|
}, [setPulseLibrary, purchaseSuccess, doClearPurchasedUriSuccess]);
|
||||||
|
|
||||||
function buildLink(path, label, icon, onClick, requiresAuth = false, isLiteral = false) {
|
function buildLink(path, label, icon, onClick, requiresAuth = false, isLiteral = false) {
|
||||||
return {
|
return {
|
||||||
navigate: !isLiteral ? `$/${path}` : `${path}`,
|
navigate: !isLiteral ? `$/${path}` : `${path}`,
|
||||||
label,
|
label,
|
||||||
|
@ -136,7 +136,7 @@ function SideNavigation(props: Props) {
|
||||||
...buildLink(PAGES.DISCOVER, __('All Content'), ICONS.DISCOVER),
|
...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'
|
// @if TARGET='web'
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue