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

Add delete-tag-dialog callback function (#3164)

* fix-bug

* update
This commit is contained in:
Michael An
2019-03-25 15:23:37 +08:00
committed by Daniel Pan
parent 34cf1eaa37
commit 8cf07d4b1b
5 changed files with 26 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ const propTypes = {
permission: PropTypes.bool.isRequired,
currentPath: PropTypes.string.isRequired,
updateUsedRepoTags: PropTypes.func.isRequired,
onDeleteRepoTag: PropTypes.func.isRequired,
};
class DirTool extends React.Component {
@@ -121,6 +122,7 @@ class DirTool extends React.Component {
currentTag={this.state.currentTag}
onClose={this.onCloseRepoTagDialog}
toggleCancel={this.onUpdateRepoTagToggle}
onDeleteRepoTag={this.props.onDeleteRepoTag}
/>
)}