17415: Created mountainduck bookmark files generator
[arvados-workbench2.git] / src / store / collections / collection-info-actions.ts
index 29dc6b879eb744693f7fcfd0bfa3087f647cbb87..d874c322d068a4d9f3d2b779e2da1cb39b435e33 100644 (file)
@@ -18,6 +18,7 @@ export interface WebDavS3InfoDialogData {
     localCluster: string;
     username: string;
     activeTab: number;
+    collectionName?: string;
     setActiveTab: (event: any, tabNr: number) => void;
 }
 
@@ -34,6 +35,7 @@ export const openWebDavS3InfoDialog = (uuid: string, activeTab?: number) =>
                 localCluster: getState().auth.localCluster,
                 username: getState().auth.user!.username,
                 activeTab: activeTab || 0,
+                collectionName: (getState().collectionPanel.item || {} as any).name,
                 setActiveTab: (event: any, tabNr: number) => dispatch<any>(openWebDavS3InfoDialog(uuid, tabNr)),
                 uuid
             }