diff --git a/dist/bundle.js b/dist/bundle.js index 01aa3a5..a90d124 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -3369,7 +3369,7 @@ var selectNavLinks = exports.selectNavLinks = (0, _reselect.createSelector)(sele }; var isMyLbryPage = function isMyLbryPage(page) { - return page === 'downloaded' || page === 'published'; + return page === 'downloaded' || page === 'published' || page === 'user_history'; }; var previousStack = historyStack.slice().reverse(); @@ -3442,6 +3442,10 @@ var selectNavLinks = exports.selectNavLinks = (0, _reselect.createSelector)(sele label: 'Publishes', path: '/published', active: currentPage === 'published' + }, { + label: 'History', + path: '/user_history', + active: currentPage === 'user_history' }]; var navLinks = { diff --git a/src/redux/selectors/navigation.js b/src/redux/selectors/navigation.js index dec1fb9..a45b0f7 100644 --- a/src/redux/selectors/navigation.js +++ b/src/redux/selectors/navigation.js @@ -62,7 +62,8 @@ export const selectNavLinks = createSelector( page === 'invite' || page === 'backup'; - const isMyLbryPage = page => page === 'downloaded' || page === 'published'; + const isMyLbryPage = page => + page === 'downloaded' || page === 'published' || page === 'user_history'; const previousStack = historyStack.slice().reverse(); @@ -145,6 +146,11 @@ export const selectNavLinks = createSelector( path: '/published', active: currentPage === 'published', }, + { + label: 'History', + path: '/user_history', + active: currentPage === 'user_history', + }, ]; const navLinks = {