Skip to content
Snippets Groups Projects
Commit 6cb0a78e authored by Moritz Stückler's avatar Moritz Stückler :cowboy:
Browse files

fix: wront tag on carousel

parent b310bd5f
No related branches found
No related tags found
No related merge requests found
Pipeline #8115 passed
......@@ -78,7 +78,7 @@ const data = trimmedArticlesAndEvents.map((data) => {
customTextColor: data.frontmatter.customTextColor,
category: {
id: 2,
title: "News",
title: data.frontmatter.type.toLowerCase() === "article" ? "News" : "Event",
},
};
}) as INewsCard[];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment