Skip to content
Snippets Groups Projects
Commit 2adcdf7f authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

MensaplanPanel: Added support for Wild and Fish

parent 4e5d538b
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import PanelWrapper from "../../meta/PanelWrapper";
import PanelTitle from "../../meta/PanelTitle";
import PanelContent from "../../meta/PanelContent";
import {CanteenAPIResponse} from "./types/canteenAPI";
import {Leaf, Plant, Bone, Warning, Record} from "@phosphor-icons/react";
import {Leaf, Plant, Bone, Warning, Record, Fish} from "@phosphor-icons/react";
type Dish = {
name: string,
......@@ -217,6 +217,12 @@ function typeToIcon(type: string): React.FC | null {
case "R":
// Rind (geraten)
return Bone
case "W":
// Wild
return Bone
case "F":
// Fisch (geraten)
return Fish
default:
return null
}
......
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