1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

delete repo index (#5884)

* delete repo index

* fix index permission
This commit is contained in:
JoinTyang
2024-01-09 18:23:11 +08:00
committed by GitHub
parent 52a58124ed
commit 61ffe21ff4
4 changed files with 39 additions and 15 deletions

View File

@@ -13,7 +13,8 @@ const propTypes = {
repoName: PropTypes.string,
isLibView: PropTypes.bool,
onSearchedClick: PropTypes.func.isRequired,
searchPlaceholder: PropTypes.string
searchPlaceholder: PropTypes.string,
currentRepoInfo: PropTypes.object,
};
class CommonToolbar extends React.Component {
@@ -30,6 +31,7 @@ class CommonToolbar extends React.Component {
placeholder={placeholder}
onSearchedClick={this.props.onSearchedClick}
repoName={repoName}
currentRepoInfo={this.props.currentRepoInfo}
/>
);
} else {