Skip to content

Commit

Permalink
Edit button disabled when no microservice is selected #89
Browse files Browse the repository at this point in the history
  • Loading branch information
tillias committed Nov 3, 2020
1 parent ea691fc commit 8ad3e25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</button>
</div>
<div class="pt-2">
<button class="btn btn-block btn-success btn-sm" [routerLink]="['/microservice',selectedNodeId(), 'edit']">
<button class="btn btn-block btn-success btn-sm" [disabled]="!nodeSelection?.hasNodes()" [routerLink]="['/microservice',selectedNodeId(), 'edit']">
Edit microservice
</button>
</div>
Expand Down

0 comments on commit 8ad3e25

Please sign in to comment.