mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
support rename Wiki (#6142)
* 01 UI support rename Wiki * rename wiki * old wiki support rename * fix wiki-v1 and wiki-v2 have same id * fix format --------- Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
This commit is contained in:
@@ -75,7 +75,7 @@ class App extends Component {
|
||||
}
|
||||
|
||||
navigateClientUrlToLib = () =>{
|
||||
if(window.location.hash && window.location.hash.indexOf('common/lib') != -1){
|
||||
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 + '/';
|
||||
|
Reference in New Issue
Block a user