fix wrong condition statement for edit modal
This commit is contained in:
parent
070f9d369d
commit
a3563ad1ef
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue