всё по Созвону 14.10.2026

This commit is contained in:
Zuev committed 2026-10-21 03:06:12 +03:00
1 parent ac228ae0c3
commit 0bb2911353
54 files changed
+2837 -738

No files matched your search

+1 -1
View File
@@ -793,7 +793,7 @@ export function ScheduleTab() {
dirtyScopeRef.current?.mark();
const value = event.target.value;
setRuleSubjectId(value);
const planned = ruleSubjectOptions?.studyPlanId
const planned = ruleSubjectOptions?.subjects?.some(subject => subject.loads?.length)
? ruleSubjectOptions.subjects.find(subject => String(subject.id) === String(value)) : null;
if (planned) {
setTypeLimits(current => plannedTypeLimits(planned.loads, current));