aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/form-model/form-model.component.html
diff options
context:
space:
mode:
authorSonja Galovic <galovicsonja@gmail.com>2022-04-26 21:15:24 +0200
committerSonja Galovic <galovicsonja@gmail.com>2022-04-26 21:15:24 +0200
commit2c22d31667a4a5be24224651a570b1086d2ded7b (patch)
tree4e30cc22d12d97816ac17a540a00df89fcb58b57 /frontend/src/app/_elements/form-model/form-model.component.html
parent31e3b846eda94de86e249956d96c54aaa92eb0c6 (diff)
parent5857e1c71eda1ee6455d55ef9f8d1c10f75a8457 (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
# Conflicts: # frontend/src/app/_elements/column-table/column-table.component.css # frontend/src/app/_elements/column-table/column-table.component.ts
Diffstat (limited to 'frontend/src/app/_elements/form-model/form-model.component.html')
-rw-r--r--frontend/src/app/_elements/form-model/form-model.component.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/app/_elements/form-model/form-model.component.html b/frontend/src/app/_elements/form-model/form-model.component.html
index 0b63c5ac..ac5ca9ab 100644
--- a/frontend/src/app/_elements/form-model/form-model.component.html
+++ b/frontend/src/app/_elements/form-model/form-model.component.html
@@ -126,7 +126,7 @@
<hr>
<div class="row" style="max-width:60rem ;">
- <div class="col text-center" *ngFor="let item of numSequence(newModel.hiddenLayers)" >
+ <div class="col text-center" *ngFor="let item of numSequence(newModel.hiddenLayers); let i=index" >
{{item}}
<div class="neuron">
<div style="text-align: center;">
@@ -147,9 +147,9 @@
</div>
<div class="row" >
<div class="col-6" style="font-size: 13px;" >Broj Ĩvorova</div>
- <mat-icon (click)="addNeuron()">add_circle</mat-icon>
- <div class="col-1">{{newModel.hiddenLayerNeurons}}</div>
- <mat-icon (click)="removeNeuron()">remove_circle</mat-icon>
+ <mat-icon (click)="addNeuron(i)">add_circle</mat-icon>
+ <div class="col-1">{{newModel.layers[i].neurons}}</div>
+ <mat-icon (click)="removeNeuron(i)">remove_circle</mat-icon>
</div>
<div class='row' style="margin-bottom: -7px;">