Skip to content

Commit

Permalink
fix: display file name and technique in measurements header
Browse files Browse the repository at this point in the history
Closes: #406
Closes: #407
  • Loading branch information
targos committed Nov 28, 2022
1 parent 5a075c3 commit ad36dda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/panels/measurements/MeasurementsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ function MeasurementsTableHeader(props: {
}
/>
</th>
<th style={{ width: '60%' }}>Id</th>
<th>Experiment</th>
<th style={{ width: '60%' }}>Filename</th>
<th>Technique</th>
</tr>
</thead>
);
Expand Down Expand Up @@ -197,9 +197,9 @@ function MeasurementsTableRow(props: MeasurementsTableRowProps) {
style={{ width: '60%', overflow: 'hidden' }}
title={item.id}
>
{item.id}
{item.info.file?.name ?? item.info.title}
</td>
<td onClick={onSelectRow}>{item.info.title}</td>
<td onClick={onSelectRow}>{item.meta.technique}</td>
</tr>
);
}
Expand Down

0 comments on commit ad36dda

Please sign in to comment.