This commit is contained in:
ker73rus 2023-05-20 06:19:34 +04:00
parent 1813adc543
commit 89b1399fb8
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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;
}) })