Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scientia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zhige Yu
scientia
Commits
60c995dc
Commit
60c995dc
authored
4 years ago
by
danieldeng2
Browse files
Options
Downloads
Patches
Plain Diff
Minor bug fixes
parent
9bae63b9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/components/atoms/ModuleCard/index.tsx
+3
-3
3 additions, 3 deletions
frontend/src/components/atoms/ModuleCard/index.tsx
frontend/src/components/pages/StandardView/index.tsx
+1
-1
1 addition, 1 deletion
frontend/src/components/pages/StandardView/index.tsx
with
4 additions
and
4 deletions
frontend/src/components/atoms/ModuleCard/index.tsx
+
3
−
3
View file @
60c995dc
...
@@ -37,11 +37,11 @@ const ModuleCard: React.FC<ModuleCardProps> = ({ module }: ModuleCardProps) => {
...
@@ -37,11 +37,11 @@ const ModuleCard: React.FC<ModuleCardProps> = ({ module }: ModuleCardProps) => {
{
module
.
terms
.
map
((
term
:
Term
)
=>
{
{
module
.
terms
.
map
((
term
:
Term
)
=>
{
switch
(
term
)
{
switch
(
term
)
{
case
Term
.
AUTUMN
:
case
Term
.
AUTUMN
:
return
<
FontAwesomeIcon
icon
=
{
faLeaf
}
/>;
return
<
FontAwesomeIcon
icon
=
{
faLeaf
}
key
=
{
Term
.
AUTUMN
}
/>;
case
Term
.
SPRING
:
case
Term
.
SPRING
:
return
<
FontAwesomeIcon
icon
=
{
faSeedling
}
/>;
return
<
FontAwesomeIcon
icon
=
{
faSeedling
}
key
=
{
Term
.
SPRING
}
/>;
case
Term
.
SUMMER
:
case
Term
.
SUMMER
:
return
<
FontAwesomeIcon
icon
=
{
faSun
}
/>;
return
<
FontAwesomeIcon
icon
=
{
faSun
}
key
=
{
Term
.
SUMMER
}
/>;
default
:
default
:
return
""
;
return
""
;
}
}
...
...
This diff is collapsed.
Click to expand it.
frontend/src/components/pages/StandardView/index.tsx
+
1
−
1
View file @
60c995dc
...
@@ -8,7 +8,7 @@ import RightBar from "components/organisms/RightBar";
...
@@ -8,7 +8,7 @@ import RightBar from "components/organisms/RightBar";
import
classNames
from
"
classnames
"
;
import
classNames
from
"
classnames
"
;
import
ModuleList
from
"
../ModuleList
"
;
import
ModuleList
from
"
../ModuleList
"
;
import
ModuleResources
from
"
../ModuleResources
"
;
import
ModuleResources
from
"
../ModuleResources
"
;
import
ModuleFeedback
from
"
../Module
Resources
"
;
import
ModuleFeedback
from
"
../Module
Feedback
"
;
import
LeftBarHome
from
"
components/organisms/LeftBarHome
"
;
import
LeftBarHome
from
"
components/organisms/LeftBarHome
"
;
import
LeftBarModuleList
from
"
components/organisms/LeftBarModuleList
"
;
import
LeftBarModuleList
from
"
components/organisms/LeftBarModuleList
"
;
import
LeftBarModule
from
"
components/organisms/LeftBarModule
"
;
import
LeftBarModule
from
"
components/organisms/LeftBarModule
"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment