1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

Update tmp (#2373)

* fix file history time

* change activities url to dashboard

* remove serverRoot from dashboard

* fix api name

* Repair some components are not display

* fix code style

* rename file

* init seafileAPI

* update search

* update seafile-editor seafile-js

* debug rebase

* fix activities loading

* fix drafts css

* add permission
This commit is contained in:
C_Q
2018-09-18 10:11:37 +08:00
committed by Daniel Pan
parent 180f388af1
commit 3d165ec733
35 changed files with 236 additions and 276 deletions

View File

@@ -21,7 +21,7 @@ class MainPanel extends Component {
{children}
</div>
</div>
<FilesActivities seafileAPI={this.props.seafileAPI} />
<FilesActivities />
</div>
)
}

View File

@@ -2,13 +2,7 @@ import React, { Component } from 'react';
import SideNavFooter from '../../components/side-nav-footer';
import MainSideNav from '../../components/main-side-nav';
const siteRoot = window.app.config.siteRoot;
const serverRoot = window.app.config.serverRoot;
const logoPath = window.app.config.logoPath;
const mediaUrl = window.app.config.mediaUrl;
const siteTitle = window.app.config.siteTitle;
const logoWidth = window.app.config.logoWidth;
const logoHeight = window.app.config.logoHeight;
import { siteRoot, logoPath, mediaUrl, siteTitle, logoWidth, logoHeight } from '../../components/constants';
class SidePanel extends Component {
@@ -21,7 +15,7 @@ class SidePanel extends Component {
</a>
<a href="#" title="Close" aria-label="Close" onClick={this.props.toggleClose} className="sf2-icon-x1 sf-popover-close side-panel-close op-icon d-md-none "></a>
</div>
<MainSideNav seafileAPI={this.props.seafileAPI}/>
<MainSideNav />
<SideNavFooter />
</div>
)