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

Commitdf5c95e

Browse files
authored
Merge pull request#495 from coderoad/fix/displayed-hints
Fix/displayed hints
2 parents1ca3fa4 +bd7c7c5 commitdf5c95e

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

‎.vscodeignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ scripts/**
2222
.prettierrc.js
2323
jest.config.js
2424

25-
##Docs
25+
##Other
2626
docs
27+
releases
28+
other
29+
DEV.md
2730

2831
## Tests
2932
build/test/**
30-
31-
## Docs
32-
DEV.md

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"coderoad",
3-
"version":"0.14.3",
3+
"version":"0.14.4",
44
"description":"Play interactive coding tutorials in your editor",
55
"keywords": [
66
"tutorial",

‎web-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"coderoad-app",
3-
"version":"0.14.3",
3+
"version":"0.14.4",
44
"private":true,
55
"scripts": {
66
"build":"react-app-rewired build",

‎web-app/src/containers/Tutorial/components/Steps.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const Steps = (props: Props) => {
2525
if(!step){
2626
returnnull
2727
}
28+
2829
return(
2930
<divkey={step.id}>
3031
<Step
@@ -34,7 +35,7 @@ const Steps = (props: Props) => {
3435
content={step.content}
3536
subtasks={step.subtasks}
3637
/>
37-
<Hintshints={step.hints||[]}/>
38+
{['ACTIVE','COMPLETE'].includes(step.status)&&<Hintshints={step.hints||[]}/>}
3839
</div>
3940
)
4041
})}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp