1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

[Wiki] Support show folder (#2334)

This commit is contained in:
shanshuirenjia
2018-09-04 17:16:50 +08:00
committed by Daniel Pan
parent b8662376a1
commit 681a4235a4
22 changed files with 1019 additions and 785 deletions

View File

@@ -1,8 +1,8 @@
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import cookie from 'react-cookies';
import { keyCodes, bytesToSize } from './utils';
import { siteRoot, avatarInfo, gettext } from './constance';
import editorUtilities from '../utils/editor-utilties';
class Account extends Component {
@@ -72,7 +72,7 @@ class Account extends Component {
}
getAccountInfo = () => {
this.props.seafileAPI.getAccountInfo().then(resp => {
editorUtilities.getAccountInfo().then(resp => {
this.setState({
userName: resp.data.name,
contactEmail: resp.data.email,