Skip to content

Commit 8e27165

Browse files
committed
improve nodered buttons
1 parent 89fe18d commit 8e27165

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

OpenFlow/src/public/Nodered.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ <h1 translate lib="web">sockets</h1>
1010
<button type="button" class="btn btn-secondary" ng-click="ctrl.EnsureNoderedInstance()"
1111
ng-show="ctrl.instance==null || ctrl.instancestatus == 'pending deletion (Running)' ">Create Nodered</button>
1212
<button type="button" class="btn btn-secondary" ng-click="ctrl.RestartNoderedInstance()"
13-
ng-show="ctrl.instance!=null && ctrl.instancestatus != 'pending deletion (Running)'">Restart
13+
ng-show="ctrl.instance!=null && ctrl.instancestatus != 'pending deletion (Running)' && ctrl.instancestatus != 'Pending'">Restart
1414
Nodered</button>
1515
<button type="button" class="btn btn-secondary" ng-click="ctrl.DeleteNoderedInstance()"
1616
ng-show="ctrl.instance!=null && ctrl.instancestatus != 'pending deletion (Running)' ">Delete Nodered</button>
17-
<button type="button" class="btn btn-secondary" ng-show="ctrl.instance!=null"
17+
<button type="button" class="btn btn-secondary"
18+
ng-show="ctrl.instance!=null && ctrl.instancestatus != 'pending deletion (Running)' && ctrl.instancestatus != 'Pending'"
1819
ng-click="ctrl.GetNoderedInstanceLog()">Get Console</button>
1920

2021
<a ng-href="{{ctrl.noderedurl}}" class="btn btn-danger" target="nodered" ng-show="ctrl.instance!=null">Open

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.425
1+
0.0.426

0 commit comments

Comments
 (0)