- Added the option to select an expiry date when an owner or dev creates a code

- Made it so the student's expiry date is the same as the admin when created by one
This commit is contained in:
Tiago Ribeiro
2023-10-11 11:20:28 +01:00
parent 25ce3bdf8f
commit a84edcd237
5 changed files with 132 additions and 20 deletions

View File

@@ -61,8 +61,8 @@ export default function Admin() {
<Layout user={user} className="gap-6">
<section className="w-full flex gap-8 justify-between">
<ExamLoader />
<CodeGenerator />
<BatchCodeGenerator />
<CodeGenerator user={user} />
<BatchCodeGenerator user={user} />
</section>
<section className="w-full">
<Lists user={user} />