diff --git a/frontend/src/js/page/wb-browse.js b/frontend/src/js/page/wb-browse.js index da81311..0c31cab 100644 --- a/frontend/src/js/page/wb-browse.js +++ b/frontend/src/js/page/wb-browse.js @@ -172,6 +172,9 @@ class WBBrowse extends Component { ownerUuid }; + const { currentUser } = app.state; + const atHome = (ownerUuid === currentUser.uuid); + return (
@@ -206,7 +209,7 @@ class WBBrowse extends Component { { (mode !== 'browse') ? null : ( this.route({ 'objTypeTab': tab['id'] }) } /> @@ -214,7 +217,7 @@ class WBBrowse extends Component { { (mode !== 'browse') ? null : - (!objTypeTab || objTypeTab === 'collection') ? ( + ((!objTypeTab && !atHome) || objTypeTab === 'collection') ? (