mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
[group discussion] fixup for 'enable' option
This commit is contained in:
@@ -237,7 +237,12 @@ define([
|
||||
},
|
||||
|
||||
showGroupDiscussions: function(group_id) {
|
||||
this.showGroup(group_id, {showDiscussions: true});
|
||||
if (app.pageOptions.enable_group_discussion) {
|
||||
this.showGroup(group_id, {showDiscussions: true});
|
||||
} else {
|
||||
this.showGroup(group_id);
|
||||
app.router.navigate('group/' + group_id + '/');
|
||||
}
|
||||
},
|
||||
|
||||
showOrgRepos: function() {
|
||||
|
Reference in New Issue
Block a user