diff --git a/frontend/src/app.js b/frontend/src/app.js index 929a2b6a98..eab0ca7682 100644 --- a/frontend/src/app.js +++ b/frontend/src/app.js @@ -76,7 +76,7 @@ class App extends Component { } navigateClientUrlToLib = () =>{ - if(window.location.hash){ + if(window.location.hash && window.location.hash.indexOf('common/lib') != -1){ let splitUrlArray = window.location.hash.split('/'); let repoID = splitUrlArray[splitUrlArray.length-2]; let url = siteRoot + 'library/' + repoID + '/';