mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-05 19:26:30 +00:00
fix-group
This commit is contained in:
parent
127961964a
commit
f9800b8e15
@ -115,12 +115,12 @@ class App extends Component {
|
||||
|
||||
onGroupChanged = (groupID) => {
|
||||
setTimeout(function(){
|
||||
let url = new URL(window.location.origin);
|
||||
let url;
|
||||
if (groupID) {
|
||||
url = url + 'group/' + groupID + '/';
|
||||
url = siteRoot + 'group/' + groupID + '/';
|
||||
}
|
||||
else {
|
||||
url = url + 'groups/';
|
||||
url = siteRoot + 'groups/';
|
||||
}
|
||||
window.location = url.toString();
|
||||
}, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user