X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/aed25c0fef7e65b307d702e8ee515567d6c2a7c1..c75768d4dfcc49eadf410077390ef8c281261594:/src/views/repositories-panel/repositories-panel.tsx diff --git a/src/views/repositories-panel/repositories-panel.tsx b/src/views/repositories-panel/repositories-panel.tsx index cfe59f0d26..f6e02af4df 100644 --- a/src/views/repositories-panel/repositories-panel.tsx +++ b/src/views/repositories-panel/repositories-panel.tsx @@ -66,8 +66,8 @@ const mapStateToProps = (state: RootState) => { const mapDispatchToProps = (dispatch: Dispatch): Pick => ({ loadRepositories: () => dispatch(loadRepositoriesData()), - onOptionsMenuOpen: (event, index, repository) => { - dispatch(openRepositoryContextMenu(event, index, repository)); + onOptionsMenuOpen: (event, repository) => { + dispatch(openRepositoryContextMenu(event, repository)); }, openRepositoriesSampleGitDialog: () => dispatch(openRepositoriesSampleGitDialog()), openRepositoryCreateDialog: () => dispatch(openRepositoryCreateDialog()) @@ -75,7 +75,7 @@ const mapDispatchToProps = (dispatch: Dispatch): Pick void; - onOptionsMenuOpen: (event: React.MouseEvent, index: number, repository: RepositoryResource) => void; + onOptionsMenuOpen: (event: React.MouseEvent, repository: RepositoryResource) => void; openRepositoriesSampleGitDialog: () => void; openRepositoryCreateDialog: () => void; } @@ -101,9 +101,9 @@ export const RepositoriesPanel = compose( - + When you are using an Arvados virtual machine, you should clone the https:// URLs. This will authenticate automatically using your API token.
- In order to clone git repositories using SSH, add an SSH key to your account and clone the git@ URLs. + In order to clone git repositories using SSH, add an SSH key to your account and clone the git@ URLs.
@@ -137,7 +137,7 @@ export const RepositoriesPanel = compose( {repository.cloneUrls.join("\n")} - onOptionsMenuOpen(event, index, repository)} className={classes.moreOptionsButton}> + onOptionsMenuOpen(event, repository)} className={classes.moreOptionsButton}>