1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

Merge pull request #3730 from haiwen/modify-dtable-interface

repair dtable interface
This commit is contained in:
Daniel Pan
2019-06-25 18:20:24 +08:00
committed by GitHub
4 changed files with 7 additions and 5 deletions

View File

@@ -32,7 +32,6 @@ class CreateTableDialog extends React.Component {
let options = [];
seafileAPI.getAccountInfo().then((res) => {
let obj = {};
console.log(res);
obj.value = 'Personal';
obj.email = res.data.email;
obj.label = 'Personal';

View File

@@ -211,7 +211,7 @@ class Workspace extends Component {
return(
<div className="workspace my-2">
<div>{workspace.owner_name}</div>
<div>{workspace.owner_type === 'Personal' ? gettext('My Tables') : workspace.owner_name}</div>
<table width="100%" className="table-vcenter">
<colgroup>
<col width="4%"/><col width="31%"/><col width="30%"/><col width="27%"/><col width="8%"/>