@@ -99,6 +99,10 @@ export const buildConsortiumDetailViewStudiesTable = (
9999 gridTemplateColumns : "auto 1fr 1fr 1fr 1fr 1fr 1fr auto" ,
100100 items : studies ,
101101 noResultsTitle : "No Studies" ,
102+ tableOptions : {
103+ getRowId : ( originalRow ) =>
104+ ( originalRow as AnVILCatalogConsortiumStudy ) . studyName ,
105+ } ,
102106 } ;
103107} ;
104108
@@ -117,6 +121,10 @@ export const buildConsortiumDetailViewWorkspacesTable = (
117121 gridTemplateColumns : "auto 1fr 1fr 1fr 1fr 1fr auto" ,
118122 items : workspaces ,
119123 noResultsTitle : "No Workspaces" ,
124+ tableOptions : {
125+ getRowId : ( originalRow ) =>
126+ ( originalRow as AnVILCatalogWorkspace ) . workspaceName ,
127+ } ,
120128 } ;
121129} ;
122130
@@ -315,6 +323,10 @@ export const buildStudyDetailViewWorkspacesTable = (
315323 gridTemplateColumns : "auto 1fr 1fr 1fr 1fr 1fr auto" ,
316324 items : workspaces ,
317325 noResultsTitle : "No Workspaces" ,
326+ tableOptions : {
327+ getRowId : ( originalRow ) =>
328+ ( originalRow as AnVILCatalogWorkspace ) . workspaceName ,
329+ } ,
318330 } ;
319331} ;
320332
@@ -658,7 +670,7 @@ function getStudyAPIKeyValue(dbGapId: string): ReactElement {
658670/**
659671 * Returns the KeyValuePair value for the specified AnVIL entity.
660672 * @param studyAccession - Study identifier with version.
661- * @returns the KeyValuePair value for study dbGap Id as a ReactElement.
673+ * @returns the KeyValuePair value for study dbGapId as a ReactElement.
662674 */
663675function getStudyDbGapIdKeyValue ( studyAccession : string ) : ReactElement {
664676 return C . Link ( {
0 commit comments