Skip to content

Commit c68d8d3

Browse files
authored
fix: hca download matrices and copy to clipboard buttons not working (#4628) (#4630)
1 parent 711b425 commit c68d8d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/apis/azul/hca-dcp/common/entities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ export interface FileTypeSummary {
6969
* Model of file "leaf" values in matrix tree response from Azul.
7070
*/
7171
export interface ProjectMatrixFileResponse {
72+
azul_url: string;
7273
contentDescription: string[];
7374
matrixCellCount?: number;
7475
name: string;
7576
size: number;
76-
url: string;
7777
uuid: string;
7878
version: string;
7979
}

app/viewModelBuilders/azul/hca-dcp/common/projectMatrixMapper/projectMatrixMapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ function createMatrixView(
8484
): ProjectMatrixView {
8585
// Create matrix view, starting with core file values.
8686
const {
87+
azul_url,
8788
contentDescription,
8889
matrixCellCount,
8990
name,
9091
size,
91-
url,
9292
uuid,
9393
version,
9494
} = file;
@@ -98,7 +98,7 @@ function createMatrixView(
9898
id: uuid,
9999
matrixCellCount,
100100
size,
101-
url,
101+
url: azul_url,
102102
version,
103103
};
104104
// Convert meta values into arrays. There may be identical files in separate branches of the tree and we'll

0 commit comments

Comments
 (0)