fix
This commit is contained in:
parent
1813adc543
commit
89b1399fb8
@ -50,7 +50,7 @@
|
|||||||
@item.NumberOfStudent
|
@item.NumberOfStudent
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a id="update-button-@item.Id" class="btn btn-secondary" asp-controller="Student" asp-action="Update" asp-route-id="@item.Id">Изменить</a>
|
<a id="update-button-@item.Id" class="btn btn-secondary" asp-controller="EducationGroup" asp-action="Update" asp-route-id="@item.Id">Изменить</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a id="remove-button-@item.Id" class="btn btn-secondary remove-btn" data-id="@item.Id">Удалить</a>
|
<a id="remove-button-@item.Id" class="btn btn-secondary remove-btn" data-id="@item.Id">Удалить</a>
|
||||||
|
@ -45,7 +45,7 @@ window.addEventListener('load', async () => {
|
|||||||
streams.forEach((stream) => {
|
streams.forEach((stream) => {
|
||||||
createStreamOption(stream);
|
createStreamOption(stream);
|
||||||
});
|
});
|
||||||
select.selectedIndex = currentDiscipline.StreamId - 1;
|
select.selectedIndex = parseInt(currentDiscipline.streamId) -1;
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user