Only Errors Shown In Side Bar (No Okay Days)

This commit is contained in:
brausjonas
2023-06-16 08:59:40 +02:00
parent 38ce89c295
commit 3e381687c2
+1 -1
View File
@@ -784,10 +784,10 @@ export default function CalenderView(p) {
<div className={"error-bar"}> <div className={"error-bar"}>
{errorState.map((e, index) => ( {errorState.map((e, index) => (
<div style={{ <div style={{
display: e === ErrorType.Okay ? "none" : "flex",
width: "90%", width: "90%",
backgroundColor: e === ErrorType.Okay ? "white" : "#e5a10e", backgroundColor: e === ErrorType.Okay ? "white" : "#e5a10e",
borderRadius: 15, borderRadius: 15,
display: "flex",
flexDirection: "column", flexDirection: "column",
justifyContent: "center", justifyContent: "center",
gap: 10, gap: 10,