1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

repair detail style bug (#2524)

This commit is contained in:
杨顺强
2018-11-14 13:54:01 +08:00
committed by Daniel Pan
parent 7c473da983
commit cb502cbe05
2 changed files with 3 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ class EditFileTagDialog extends React.Component {
let filePath = this.props.filePath; let filePath = this.props.filePath;
seafileAPI.addFileTag(repoID, filePath, id).then(() => { seafileAPI.addFileTag(repoID, filePath, id).then(() => {
repoTagIdList = this.getRepoTagIdList(); repoTagIdList = this.getRepoTagIdList();
this.props.onFileTagChanged();
}); });
} else { } else {
let fileTag = null; let fileTag = null;
@@ -65,9 +66,9 @@ class EditFileTagDialog extends React.Component {
} }
seafileAPI.deleteFileTag(repoID, fileTag.id).then(() => { seafileAPI.deleteFileTag(repoID, fileTag.id).then(() => {
repoTagIdList = this.getRepoTagIdList(); repoTagIdList = this.getRepoTagIdList();
this.props.onFileTagChanged();
}); });
} }
this.props.onFileTagChanged();
} }
toggle = () => { toggle = () => {

View File

@@ -112,8 +112,8 @@
} }
.cur-view-detail { .cur-view-detail {
flex: 0 0 20rem;
display: flex; display: flex;
width: 20rem;
} }
/* for reach/router */ /* for reach/router */