diff options
author | Galen Guyer <galen@galenguyer.com> | 2021-01-16 00:51:03 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2021-01-16 00:51:03 -0500 |
commit | b5f996ec8dd845f3294f9f71421c084d8f74130f (patch) | |
tree | a2d16e25960307470b3ef61ebd505dd3f17f333d /src/MainPage.js | |
parent | 5c24198b08bf461fc226e080bd1b2dc23d6aebf5 (diff) |
Add option to only show information from the current semester
Diffstat (limited to 'src/MainPage.js')
-rw-r--r-- | src/MainPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MainPage.js b/src/MainPage.js index f5fa303..ae9c5a9 100644 --- a/src/MainPage.js +++ b/src/MainPage.js @@ -35,7 +35,9 @@ const MainPage = (props) => { </h5> <br /> <div id="total"> - <h4 className="text-2xl">Total Positive Cases Since August 19 (First Day of Classes)</h4> + <h4 className="text-2xl"> + Total Positive Cases Since {props.showAllTime ? "August 19 (First Day of Classes)" : "January 1"} + </h4> <div className="Section"> <Card name="Students" |