From 5620b9c4236bab9e9c98b6a4e955498823de4136 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Tue, 16 Feb 2021 20:11:07 -0300 Subject: [PATCH] 16848: Makes 'Open as S3 bucket' dialog use the extra api token if available. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- src/store/collections/collection-info-actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2