agtzdimi / planet

PLANET Project
0 stars 0 forks source link

Disbale 3Nodes radio box in DH #72

Closed agtzdimi closed 4 years ago

agtzdimi commented 5 years ago

In scenario-creation tab we are giving the capability to the user to select between 3 Nodes and 1 Node in the District Heating tab (DH) although we don't still have model3 - model4 implemented. The 3 nodes on the DH tab should be disabled to avoid crashing the application.

tsotakis commented 4 years ago

<nb-radio-group class="m-2" (valueChange)="updateSelectedModel($event,'dh')" (click)="onRadioButtonClicked($event)" #dhRadio name="dhRadio" [value]="loadedSelections['dh']"> <nb-radio [value]="'1 Node'">1 Node <nb-radio [value]="'3 Node'" disabled>3 Node

agtzdimi commented 4 years ago

Issue resolved