We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a423e5 commit 04ff852Copy full SHA for 04ff852
src/packages/frontend/course/configuration/upgrades.tsx
@@ -583,9 +583,12 @@ export function StudentProjectUpgrades({
583
remove_site_license_id(license_id);
584
}}
585
warn_if={(info, _) => {
586
+ const upgradeHostProject = settings.get(
587
+ "license_upgrade_host_project",
588
+ );
589
const n =
590
get_store().get_student_ids().length +
- 1 +
591
+ (upgradeHostProject ? 1 : 0) +
592
(shared_project_id ? 1 : 0);
593
if (info.run_limit < n) {
594
return `NOTE: This license can only upgrade ${info.run_limit} simultaneous running projects, but there are ${n} projects associated to this course.`;
0 commit comments