1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-05 19:26:30 +00:00

fix-group

This commit is contained in:
Michael18811380328 2018-12-20 18:22:07 +08:00
parent 127961964a
commit f9800b8e15

View File

@ -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);