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:
committed by
Daniel Pan
parent
b8662376a1
commit
681a4235a4
@@ -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,
|
||||
|
Reference in New Issue
Block a user