всё по Созвону 14.10.2026
This commit is contained in:
1 parent
ac228ae0c3
commit
0bb2911353
54 files changed
+2837
-738
No files matched your search
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user