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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user