mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
fix condition in withStartingIndicator
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
parent
ff2d297b0a
commit
27bd8fef40
|
@ -23,21 +23,21 @@ export const StartingContent: FC<StartingContentProps> = ({ status, isUnexpected
|
|||
<div className="text-center m-3">
|
||||
<div className="m-4">
|
||||
<h2>Starting up...</h2>
|
||||
{/* {status?.max! > 0 ? (
|
||||
{status && status.max > 0 ? (
|
||||
<div>
|
||||
<p>
|
||||
Replaying WAL ({status?.current}/{status?.max})
|
||||
</p>
|
||||
<Progress
|
||||
animated
|
||||
value={status?.current! - status?.min! + 1}
|
||||
min={status?.min}
|
||||
max={status?.max! - status?.min! + 1}
|
||||
color={status?.max === status?.current ? 'success' : undefined}
|
||||
value={status.current - status.min + 1}
|
||||
min={status.min}
|
||||
max={status.max - status.min + 1}
|
||||
color={status.max === status.current ? 'success' : undefined}
|
||||
style={{ width: '10%', margin: 'auto' }}
|
||||
/>
|
||||
</div>
|
||||
) : null} */}
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue