1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +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

@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
import SidePanel from './pages/wiki/side-panel';
import MainPanel from './pages/wiki/main-panel';
import moment from 'moment';
import { slug, repoID, serviceUrl, initialFilePath } from './components/constance';
import { slug, repoID, serviceUrl, initialFilePath } from './components/constants';
import editorUtilities from './utils/editor-utilties';
import Node from './components/tree-view/node'
import Tree from './components/tree-view/tree'
@@ -112,7 +112,8 @@ class Wiki extends Component {
}
}
onSearchedClick = (path) => {
onSearchedClick = (item) => {
let path = item.path;
if (this.state.currentFilePath !== path) {
this.initMainPanelData(path);