fix: change from single typeOfOccupation to array

This commit is contained in:
Polianin Nikita 2024-06-05 21:48:38 +03:00
parent 83fc7df137
commit b388fb039a

View File

@ -49,7 +49,12 @@
<!-- Discipline -->
<div class="mat-body-1">{{ elementData["discipline"] }}</div>
<!-- Type of Occupation -->
<div class="mat-body">({{ elementData["typeOfOccupation"] }})</div>
@for (typeOfOccupation of elementData["typeOfOccupations"]; track $index) {
@if ($index !== 0) {
<br/>
}
<div class="mat-body">({{typeOfOccupation}})</div>
}
<!-- Professors -->
@if (checkAvailableData(elementData["professors"])) {