From 27bd8fef4041e5746b48a403614e85eefd423f02 Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Thu, 2 Sep 2021 10:29:20 +0200 Subject: [PATCH] fix condition in withStartingIndicator Signed-off-by: Augustin Husson --- .../src/components/withStartingIndicator.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/ui/react-app/src/components/withStartingIndicator.tsx b/web/ui/react-app/src/components/withStartingIndicator.tsx index 7c3913a00a..c5d1adb1bc 100644 --- a/web/ui/react-app/src/components/withStartingIndicator.tsx +++ b/web/ui/react-app/src/components/withStartingIndicator.tsx @@ -23,21 +23,21 @@ export const StartingContent: FC = ({ status, isUnexpected

Starting up...

- {/* {status?.max! > 0 ? ( + {status && status.max > 0 ? (

Replaying WAL ({status?.current}/{status?.max})

- ) : null} */} + ) : null}
);