mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 21:30:39 +00:00
fix dir.js & improve group-side-nav.js
This commit is contained in:
@@ -229,9 +229,10 @@ define([
|
||||
var path = dir.path;
|
||||
var context = 'my';
|
||||
|
||||
if (dir.category.startsWith('org')) {
|
||||
var category_start = dir.category.split('/')[0];
|
||||
if (category_start == 'org') {
|
||||
context = 'org';
|
||||
} else if (dir.category.startsWith('group')) {
|
||||
} else if (category_start == 'group') {
|
||||
context = 'group';
|
||||
}
|
||||
var obj = {
|
||||
|
Reference in New Issue
Block a user