Only Errors Shown In Side Bar (No Okay Days)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user