diff --git a/public/react/src/modules/tpm/TPMRepositoryComponent.js b/public/react/src/modules/tpm/TPMRepositoryComponent.js index 629209b70..97e5f1e85 100644 --- a/public/react/src/modules/tpm/TPMRepositoryComponent.js +++ b/public/react/src/modules/tpm/TPMRepositoryComponent.js @@ -145,7 +145,7 @@ class TPMRepositoryComponent extends Component { const path = urlNewPathArray.join('/') let id = this.props.match.params.shixunId; - let url = `/shixuns/${id}/${this.props.secret_repository ? 'secret_repository' : 'repository'}.json`; + let url = `/shixuns/${id}/${this.props.secret_repository_tab ? 'secret_repository' : 'repository'}.json`; // this.props.setLoadingContent(true) axios.post(url, { path: path ? path : ''