Skip to content

Traverse content (blocked) #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update learn dropdown icons
Signed-off-by: shmck <[email protected]>
  • Loading branch information
ShMcK committed Apr 26, 2020
commit 965064ef0f0e290f88f2ce58e05c99f29489f2cc
9 changes: 6 additions & 3 deletions web-app/src/containers/Tutorial/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,15 @@ const TutorialPage = (props: PageProps) => {
let disabled = false

if (isComplete) {
icon = <Icon type="success" size="xs" />
// completed icon
icon = <Icon type="minus" size="xs" />
} else if (isCurrent) {
icon = <Icon type="eye" size="xs" />
// current icon`
icon = <Icon type="minus" size="xs" />
} else {
// upcoming
disabled = true
icon = <Icon type="minus" size="xs" />
icon = <Icon type="lock" size="xs" />
}
return (
<Menu.Item key={level.id} disabled={disabled} onSelect={() => setMenuContent(level.id)}>
Expand Down