Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalonx committed Sep 16, 2024
1 parent c7044f0 commit 648211a
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { PdpBeamType } from '../../../domain/enums/PdpBeamType.js';
import { SkimmingStage } from '../../../domain/enums/SkimmingStage.js';
import { badge } from '../../../components/common/badge.js';
import { Color } from '../../../components/common/colors.js';
import { mergeRemoteData } from '../../../utilities/mergeRemoteData.js';

const TABLEROW_HEIGHT = 59;
// Estimate of the navbar and pagination elements height total; Needs to be updated in case of changes;
Expand Down Expand Up @@ -235,18 +236,9 @@ export const RunsPerDataPassOverviewPage = ({
Other: () => null,
}),
h('.flex-column.w-100', [
remoteGaqSummary.match({ Failure: (errors) => errorAlert(errors), Other: () => null }),
table(
remoteGaqSummary.match({
Success: () => remoteQcSummary.match({
Success: () => remoteDetectors.match({
Success: () => remoteRuns,
Other: () => remoteDetectors,
}),
Other: () => remoteQcSummary,
}),
Other: () => remoteGaqSummary,
}),
mergeRemoteData([remoteRuns, remoteDetectors, remoteGaqSummary, remoteQcSummary])
.apply({ Success: (remoteDataList) => remoteDataList[0] }),
activeColumns,
{ classes: getRowClasses },
{
Expand Down

0 comments on commit 648211a

Please sign in to comment.