mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Merge pull request #21457 from mvdbeek/fix_column_display
[25.1] Fix sample_sheet column display
This commit is contained in:
@@ -27,9 +27,8 @@ function initializeRowData(rowData: AgRowData[]) {
|
||||
if (collectionDetailed) {
|
||||
for (const element of collectionDetailed.elements) {
|
||||
const row: AgRowData = { __model_object: element };
|
||||
(collectionDetailed.column_definitions || []).forEach((colDef) => {
|
||||
// TODO:
|
||||
row[colDef.name] = "foobar";
|
||||
(collectionDetailed.column_definitions || []).forEach((colDef, colIndex) => {
|
||||
row[colDef.name] = element.columns ? element.columns[colIndex] : null;
|
||||
});
|
||||
rowData.push(row);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user