1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

sysadmin fix left side panel high light (#4269)

This commit is contained in:
Leo
2019-11-18 16:10:24 +08:00
committed by Daniel Pan
parent b9ec246817
commit e83ec67edd

View File

@@ -120,6 +120,30 @@ class SysAdmin extends React.Component {
tab: 'organizations',
urlPartList: ['organizations/', 'search-organizations/']
},
{
tab: 'links',
urlPartList: ['share-links/', 'upload-links/']
},
{
tab: 'institutions',
urlPartList: ['institutions/']
},
{
tab: 'termsandconditions',
urlPartList: ['terms-and-conditions/']
},
{
tab: 'departments',
urlPartList: ['departments/']
},
{
tab: 'logs',
urlPartList: ['logs/']
},
{
tab: 'adminLogs',
urlPartList: ['admin-logs/']
}
];
const tmpTab = this.getCurrentTabForPageList(pageList);
currentTab = tmpTab ? tmpTab : currentTab;