From f94cf9da934521b2fee5004dbdd2b8732f8db0e0 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 23 Jul 2020 10:41:45 -0400 Subject: [PATCH] Library => Purchased on web --- ui/component/sideNavigation/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 89183f519..72d3a0f1a 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -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' {