-
-
Notifications
You must be signed in to change notification settings - Fork 220
feat: add button 'Done Task' for auto-task #2813
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
base: master
Are you sure you want to change the base?
Conversation
|
|
||
| const score = verifications?.[0]?.score ?? null; | ||
| const isMinimumScoreDone = score >= publicAttributes.tresholdPercentage; | ||
| console.log(isMinimumScoreDone); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this
| </Paragraph> | ||
| </Col> | ||
| <Col span={24}> | ||
| <Col span={24} style={{ display: 'flex', justifyContent: 'space-between' }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will Col + Row work instead?
| const [activeTab, setActiveTab] = useState(CourseTaskStatus.Available); | ||
| const statuses = useMemo(() => tasks?.map(t => t.status) || [], [tasks]); | ||
| const filteredTasks = useMemo(() => tasks?.filter(t => t.status === activeTab) || [], [tasks, activeTab]); | ||
| const isAvailableTab = activeTab === CourseTaskStatus.Available ? false : true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this naming is confusing, isAvailableTab = true when active tab != "Available"
Pull Request Guidelines
Issue:
Description:
Self-Check: