user can select 'plant' from dropdown menu

This commit is contained in:
Joeri Exelmans 2025-10-21 17:25:04 +02:00
parent 0da2c793cd
commit dfbcca5c14
5 changed files with 77 additions and 9 deletions

View file

@ -5,7 +5,6 @@ import "./BottomPanel.css";
import head from "../head.svg" ;
import { PersistentDetails } from "./PersistentDetails";
import { DigitalWatch } from "@/Plant/DigitalWatch/DigitalWatch";
export function BottomPanel(props: {errors: TraceableError[]}) {
const [greeting, setGreeting] = useState(<><b><img src={head} style={{transform: "scaleX(-1)"}}/>&emsp;"Welcome to StateBuddy, buddy!"</b><br/></>);
@ -18,7 +17,6 @@ export function BottomPanel(props: {errors: TraceableError[]}) {
return <div className="toolbar bottom">
{greeting}
<DigitalWatch alarm={true} light={true} h={12} m={30} s={33}/>
{props.errors.length > 0 &&
<div className="errorStatus">
<PersistentDetails initiallyOpen={false} localStorageKey="errorsExpanded">