Skip to content
Snippets Groups Projects
Verified Commit 01447624 authored by Falk Rehse's avatar Falk Rehse
Browse files

More replacements

parent 10e6e4b0
No related branches found
No related tags found
No related merge requests found
Pipeline #257280 passed with warnings
......@@ -105,13 +105,15 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => {
.split(" | ")
.at(0) ?? "Name nicht bekannt")
.replace(" nach Wahl", "")
.replaceAll(/\(.*\)/g, ""),
.replaceAll(/\(.*\)/g, "")
.replaceAll(/ *, */g, ", "),
details: d.title.de
.split(" | ")
.slice(1, -1)
.join(", ")
.replace(" nach Wahl", "")
.replaceAll(/\(.*\)/g, ""),
.replaceAll(/\(.*\)/g, "")
.replaceAll(/ *, */g, ", "),
typeIcons: d.type.map(typeToIcon).filter(i => i !== null) as unknown as React.FC<any>[],
price: d.price
}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment