From 7497a0fdcaccc3cdd9ab42cf4cb055f6516b706e Mon Sep 17 00:00:00 2001 From: shmck Date: Sat, 8 Aug 2020 15:13:54 -0700 Subject: [PATCH 1/2] hide run when no steps Signed-off-by: shmck --- web-app/src/containers/Tutorial/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-app/src/containers/Tutorial/index.tsx b/web-app/src/containers/Tutorial/index.tsx index 5cb12c26..c6f4b0d4 100644 --- a/web-app/src/containers/Tutorial/index.tsx +++ b/web-app/src/containers/Tutorial/index.tsx @@ -181,7 +181,7 @@ const TutorialPage = (props: PageProps) => { )} {/* Left */}
- {DISPLAY_RUN_TEST_BUTTON && level.status !== 'COMPLETE' ? ( + {DISPLAY_RUN_TEST_BUTTON && level.steps.length && level.status !== 'COMPLETE' ? (
) : level.steps.length > 1 ? ( - + ) : null}