BarGauge: Fix space bug in single series mode (#26176)

This commit is contained in:
Torkel Ödegaard 2020-07-09 09:18:05 +02:00 committed by GitHub
parent 2191fe1285
commit 7b80e300d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ export class BarGaugePanel extends PureComponent<PanelProps<BarGaugeOptions>> {
displayMode={options.displayMode} displayMode={options.displayMode}
onClick={openMenu} onClick={openMenu}
className={targetClassName} className={targetClassName}
alignmentFactors={alignmentFactors} alignmentFactors={count > 1 ? alignmentFactors : undefined}
showUnfilled={options.showUnfilled} showUnfilled={options.showUnfilled}
/> />
); );