From: Lucas Di Pentima Date: Tue, 16 Feb 2021 23:11:07 +0000 (-0300) Subject: 16848: Makes 'Open as S3 bucket' dialog use the extra api token if available. X-Git-Tag: 2.1.2.1~10^2~15 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/5620b9c4236bab9e9c98b6a4e955498823de4136 16848: Makes 'Open as S3 bucket' dialog use the extra api token if available. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/src/store/collections/collection-info-actions.ts b/src/store/collections/collection-info-actions.ts index 49fe54f6..b904da70 100644 --- a/src/store/collections/collection-info-actions.ts +++ b/src/store/collections/collection-info-actions.ts @@ -26,7 +26,7 @@ export const openWebDavS3InfoDialog = (uuid: string, activeTab?: number) => id: COLLECTION_WEBDAV_S3_DIALOG_NAME, data: { title: 'Access Collection using WebDAV or S3', - token: getState().auth.apiToken, + token: getState().auth.extraApiToken || getState().auth.apiToken, downloadUrl: getState().auth.config.keepWebServiceUrl, collectionsUrl: getState().auth.config.keepWebInlineServiceUrl, localCluster: getState().auth.localCluster,