Skip to content

Commit

Permalink
show other_language in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mipyykko committed May 12, 2023
1 parent 240770f commit 09a3203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/components/NewLayout/Courses/CourseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const MoocfiLogo = styled(CardHeaderImage)``
const prettifyDate = (date: string) =>
date.split("T").shift()?.split("-").reverse().join(".")

const allowedLanguages = ["en", "fi", "se"]
const allowedLanguages = ["en", "fi", "se", "other_language"]

interface CourseCardProps {
course: CourseFieldsFragment
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/NewLayout/Courses/CourseGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
TagCoreFieldsFragment,
} from "/graphql/generated"

const allowedLanguages = ["en", "fi", "se"]
const allowedLanguages = ["en", "fi", "se", "other_language"]

/* Coming in a later PR for better mobile view
const Container = styled.div`
Expand Down

0 comments on commit 09a3203

Please sign in to comment.