Fixes CNVS-18768.
test plan:
- Set course dates to the past
- Set section dates to the present
- Assign a quiz to that section
- Take Quiz button should not appear
Change-Id: I64d966cde8ffe2e2a69434cad4cf154c730845ce
Reviewed-on: https://gerrit.instructure.com/54603
Tested-by: Jenkins
Reviewed-by: Ryan Taylor <rtaylor@instructure.com>
QA-Review: Adam Stone <astone@instructure.com>
Reviewed-by: Brian Finney <bfinney@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>