Skip to content

Commit 23adc99

Browse files
author
GuustMetz
committed
add loading symbol whilst waiting for name
1 parent 5239e22 commit 23adc99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
102102

103103
const lhcPeriodName = remoteLhcPeriodStatistics?.match({
104104
Success: (lhcPeriodStatistics) => lhcPeriodStatistics.lhcPeriod.name,
105-
Other: () => '',
105+
Other: () => spinner({ size: 1, absolute: false }),
106106
});
107107

108108
return [
109109
h('.flex-row.justify-between.items-center.g2', [
110110
filtersPanelPopover(perLhcPeriodOverviewModel, activeColumns, { profile: 'runsPerLhcPeriod' }),
111111
h('.pl2#runOverviewFilter', runNumbersFilter(perLhcPeriodOverviewModel.filteringModel.get('runNumbers'))),
112-
h('h2', ['Good physics runs of ', lhcPeriodName ?? spinner({ size: 1, absolute: false })]),
112+
h('h2', ['Good physics runs of ', lhcPeriodName]),
113113
mcReproducibleAsNotBadToggle(
114114
mcReproducibleAsNotBad,
115115
() => perLhcPeriodOverviewModel.setMcReproducibleAsNotBad(!mcReproducibleAsNotBad),

0 commit comments

Comments
 (0)