fix wrong condition statement for edit modal

This commit is contained in:
Alex Martzios 2023-03-15 12:03:16 +02:00
parent 070f9d369d
commit a3563ad1ef
1 changed files with 4 additions and 4 deletions

View File

@ -275,13 +275,13 @@
<fs-modal #fsModal classBody="uk-container-large" (okEmitter)="saveAllSubjects()" [okButtonDisabled]="!hasChanges && !sdgSelection.hasChanges && !fosSelection.hasChanges">
<div>
<ul uk-tab #modalTabs class="uk-tab uk-margin-top uk-margin-large-bottom uk-flex uk-flex-center uk-flex-left@m">
<li class="uk-active" *ngIf="displayedSubjects?.length">
<a>Free Text ({{displayedSubjects.length}})<span *ngIf="hasChanges">*</span></a>
<li class="uk-active">
<a>Free Text ({{displayedSubjects.length}})</a>
</li>
<li *ngIf="displayedSdg?.length">
<li>
<a>SDGs ({{sdgSelection.getSelectedSubjects().length}})<span *ngIf="sdgSelection.hasChanges">*</span></a>
</li>
<li *ngIf="displayedFos?.length">
<li>
<a>Fields of Science ({{fosSelection.getSelectedSubjects().length}})<span *ngIf="fosSelection.hasChanges">*</span></a>
</li>
</ul>