Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
feat : professor can submit any time
Browse files Browse the repository at this point in the history
  • Loading branch information
kasterra committed May 24, 2024
1 parent 45d5fb0 commit f8dca2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ const LabDetail = () => {
채점 기록
</button>
</Link>
{new Date(practiceDetail!.end_time) > new Date() ? (
{auth.role === "professor" ||
new Date(practiceDetail!.end_time) > new Date() ? (
<button
className={styles["submit-button"]}
onClick={() => setIsSubmitModalOpen(true)}
Expand Down

0 comments on commit f8dca2c

Please sign in to comment.