mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
@@ -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}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
@@ -14,6 +14,7 @@ const propTypes = {
|
||||
isViewFile: PropTypes.bool,
|
||||
updateUsedRepoTags: PropTypes.func.isRequired,
|
||||
fileTags: PropTypes.array.isRequired,
|
||||
onDeleteRepoTag: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
class CurDirPath extends React.Component {
|
||||
@@ -37,6 +38,7 @@ class CurDirPath extends React.Component {
|
||||
permission={this.props.permission}
|
||||
currentPath={this.props.currentPath}
|
||||
updateUsedRepoTags={this.props.updateUsedRepoTags}
|
||||
onDeleteRepoTag={this.props.onDeleteRepoTag}
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
|
Reference in New Issue
Block a user