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

MensaplanPanel: Now showing different notice for empty plan

parent 47d6a173
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, Fish} from "@phosphor-icons/react";
import {Leaf, Plant, Bone, Record, Fish, ForkKnife} from "@phosphor-icons/react";
type Dish = {
name: string,
......@@ -178,9 +178,9 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => {
{dishes.length === 0 && (
<div className={"h-full w-full flex justify-center items-center"}>
<div className={"mb-10 flex flex-col items-center"}>
<Warning size={48} className={"mb-3"}/>
<ForkKnife size={48} className={"mb-3"}/>
<p className={"text-center text-zinc-400"}>
Aktuell sind keine Mensaplan-Daten verfügbar.
Es werden keine Gerichte in dieser Kategorie angeboten
</p>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment