fix: combine typeOfOccupation
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m0s
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m0s
This commit is contained in:
@ -51,10 +51,12 @@
|
||||
<div class="mat-body-1">{{ elementData["discipline"] }}</div>
|
||||
<!-- Type of Occupation -->
|
||||
@for (typeOfOccupation of elementData["typeOfOccupations"]; track $index) {
|
||||
@if ($index !== 0) {
|
||||
<br/>
|
||||
@if ($index === 0 && elementData["typeOfOccupations"][$index - 1] !== typeOfOccupation) {
|
||||
@if ($index !== 0) {
|
||||
<br/>
|
||||
}
|
||||
<div class="mat-body">({{ typeOfOccupation }})</div>
|
||||
}
|
||||
<div class="mat-body">({{ typeOfOccupation }})</div>
|
||||
}
|
||||
|
||||
<!-- Professors -->
|
||||
|
Reference in New Issue
Block a user