mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 11:27:18 +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:
@@ -1,10 +1,5 @@
|
||||
import { slug, repoID, siteRoot, historyRepoID } from '../components/constance';
|
||||
import { SeafileAPI } from 'seafile-js';
|
||||
import cookie from 'react-cookies';
|
||||
|
||||
let seafileAPI = new SeafileAPI();
|
||||
let xcsrfHeaders = cookie.load('sfcsrftoken');
|
||||
seafileAPI.initForSeahubUsage({ siteRoot, xcsrfHeaders });
|
||||
import { slug, repoID, siteRoot, historyRepoID } from '../components/constants';
|
||||
import { seafileAPI } from './seafile-api';
|
||||
|
||||
class EditorUtilities {
|
||||
|
||||
@@ -114,4 +109,3 @@ class EditorUtilities {
|
||||
const editorUtilities = new EditorUtilities();
|
||||
|
||||
export default editorUtilities;
|
||||
export { seafileAPI };
|
||||
|
Reference in New Issue
Block a user