Skip to content

Commit d15afba

Browse files
author
GuustMetz
committed
chore: fix lint errors
1 parent 649c1bb commit d15afba

1 file changed

Lines changed: 17 additions & 20 deletions

File tree

lib/public/views/Runs/RunPerPeriod/RunsPerLhcPeriodOverviewPage.js

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
9595
{ sort: sortModel },
9696
);
9797

98-
const activeColumns = {
99-
...runsActiveColumns,
100-
...getInelasticInteractionRateColumns(pdpBeamTypes),
101-
};
98+
const activeColumns = {
99+
...runsActiveColumns,
100+
...getInelasticInteractionRateColumns(pdpBeamTypes),
101+
};
102102

103-
const lhcPeriodName = remoteLhcPeriodStatistics?.match({
104-
Success: (lhcPeriodStatistics) => lhcPeriodStatistics.lhcPeriod.name,
105-
Other: () => null,
106-
});
103+
const lhcPeriodName = remoteLhcPeriodStatistics?.match({
104+
Success: (lhcPeriodStatistics) => lhcPeriodStatistics.lhcPeriod.name,
105+
Other: () => null,
106+
});
107107

108108
return [
109109
h('.flex-row.justify-between.items-center.g2', [
@@ -117,13 +117,12 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
117117
exportTriggerAndModal(perLhcPeriodOverviewModel.exportModel, modalModel),
118118
]),
119119
h(
120-
'.intermediate-flex-column',
121-
remoteRuns.match({
122-
NotAsked: () => null,
123-
Failure: (errors) => errorAlert(errors),
124-
Loading: () => spinner(),
125-
Success: () => {
126-
return [
120+
'.intermediate-flex-column',
121+
remoteRuns.match({
122+
NotAsked: () => null,
123+
Failure: (errors) => errorAlert(errors),
124+
Loading: () => spinner(),
125+
Success: () => [
127126
...tabbedPanelComponent(
128127
tabbedPanelModel,
129128
{
@@ -158,9 +157,7 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
158157
{ panelClass: ['scroll-auto'] },
159158
),
160159
paginationComponent(perLhcPeriodOverviewModel.pagination),
161-
];
162-
},
163-
}),
164-
165-
)]
160+
] }),
161+
),
162+
];
166163
};

0 commit comments

Comments
 (0)