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

Shared with all (#2672)

This commit is contained in:
杨顺强
2018-12-21 15:40:59 +08:00
committed by Daniel Pan
parent aeeee79306
commit ac67f59081
16 changed files with 433 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
import React, { Component, Fragment } from 'react';
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Router, navigate } from '@reach/router';
import { siteRoot } from './utils/constants';
@@ -19,6 +19,7 @@ import ShareAdminUploadLinks from './pages/share-admin/upload-links';
import SharedLibraries from './pages/shared-libs/shared-libs';
import MyLibraries from './pages/my-libs/my-libs';
import MyLibDeleted from './pages/my-libs/my-libs-deleted';
import PublicSharedView from './pages/shared-with-all/public-shared-view';
import DirView from './components/dir-view/dir-view';
import Group from './pages/groups/group-view';
import Groups from './pages/groups/groups-view';
@@ -221,6 +222,7 @@ class App extends Component {
onGroupChanged={this.onGroupChanged}
/>
<WikisWrapper path={siteRoot + 'wikis'} onShowSidePanel={this.onShowSidePanel} onSearchedClick={this.onSearchedClick}/>
<PublicSharedView path={siteRoot + 'org/'} onShowSidePanel={this.onShowSidePanel} onSearchedClick={this.onSearchedClick} onTabNavClick={this.tabItemClick}/>
</Router>
</MainPanel>
</div>