1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

12.0 redesign wiki list (#6155)

* 01 remove useless wiki codes

* 02 change delete wiki tip

* 03 fix code format

* 04 redesign wikis
This commit is contained in:
Michael An
2024-06-01 09:09:42 +08:00
committed by GitHub
parent 4b81908955
commit 80637c506c
21 changed files with 124 additions and 293 deletions

View File

@@ -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 + '/';
@@ -129,7 +129,7 @@ class App extends Component {
};
onGroupChanged = (groupID) => {
setTimeout(function(){
setTimeout(function() {
let url;
if (groupID) {
url = siteRoot + 'group/' + groupID + '/';