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) => {
|
onGroupChanged = (groupID) => {
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
let url = new URL(window.location.origin);
|
let url;
|
||||||
if (groupID) {
|
if (groupID) {
|
||||||
url = url + 'group/' + groupID + '/';
|
url = siteRoot + 'group/' + groupID + '/';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
url = url + 'groups/';
|
url = siteRoot + 'groups/';
|
||||||
}
|
}
|
||||||
window.location = url.toString();
|
window.location = url.toString();
|
||||||
}, 1);
|
}, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user