Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1fe050d

Browse files
committed
add test run loading indicator
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentf88b66d commit1fe050d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎web-app/src/containers/Tutorial/index.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,13 @@ const TutorialPage = (props: PageProps) => {
179179
{/* Left */}
180180
<divcss={{flex:1}}>
181181
{DISPLAY_RUN_TEST_BUTTON&&level.status!=='COMPLETE' ?(
182-
<Buttonstyle={{marginLeft:'1rem'}}type="primary"onClick={onRunTest}disabled={disableOptions}>
183-
Run
182+
<Button
183+
style={{marginLeft:'1rem',width:'3rem'}}
184+
type="primary"
185+
onClick={onRunTest}
186+
disabled={disableOptions}
187+
>
188+
{props.state==='Level.TestRunning' ?<Icontype="loading"size="small"/> :'Run'}
184189
</Button>
185190
) :null}
186191
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp