1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

remove adjacent excess Divider (#5680)

* remove adjacent excess 'Divider'

* fix upload file tags may cover previous tags
This commit is contained in:
Michael An
2023-10-11 20:40:16 +08:00
committed by GitHub
parent 7c6e2bf032
commit d4445fad51
3 changed files with 14 additions and 3 deletions

View File

@@ -46,8 +46,10 @@ export default class ListTagPopover extends React.Component {
});
};
updateTags = (repotagList) => {
this.setState({ repotagList });
updateTags = (newRepotagList) => {
this.setState({
repotagList: [...this.state.repotagList, ...newRepotagList],
});
};
onDeleteTag = (tag) => {