Skip to content

Commit 7497a0f

Browse files
committed
hide run when no steps
Signed-off-by: shmck <[email protected]>
1 parent 4e997d8 commit 7497a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: web-app/src/containers/Tutorial/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const TutorialPage = (props: PageProps) => {
181181
)}
182182
{/* Left */}
183183
<div css={{ flex: 1 }}>
184-
{DISPLAY_RUN_TEST_BUTTON && level.status !== 'COMPLETE' ? (
184+
{DISPLAY_RUN_TEST_BUTTON && level.steps.length && level.status !== 'COMPLETE' ? (
185185
<Button
186186
style={{ marginLeft: '1rem', width: '57px' }}
187187
type="primary"

0 commit comments

Comments
 (0)