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:
@@ -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 = () => {
|
||||||
|
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user