всё по Созвону 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

+2 -1
View File
@@ -140,9 +140,10 @@ export function assignmentTypeLabel(assignment) {
return assignment?.lessonTypeName || '—';
}
export function teachersSearchEndpoint(query, selectedId) {
export function teachersSearchEndpoint(query, selectedId, departmentId) {
const params = new URLSearchParams({ query, limit: '30' });
if (selectedId) params.set('selectedId', selectedId);
if (departmentId) params.set('departmentId', departmentId);
return `/api/users/teachers/options?${params}`;
}