Skip to content

Commit

Permalink
ISPN-7204 Administration console - cluster page doesn't show correct …
Browse files Browse the repository at this point in the history
…status on nodes
  • Loading branch information
vblagoje authored and ryanemerson committed Nov 15, 2016
1 parent ff65dd8 commit 3c19c2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/module/server-group/ServerGroupCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class ServerGroupCtrl {
}

isServerStopped(server: IServerAddress): boolean {
return false;
return this.getServerStatus(server) === "STOPPED";
}

getSGStatus(): string {
Expand Down
2 changes: 1 addition & 1 deletion src/module/server-instance/view/server-instance.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<li>
<a href="#/server-groups" translate>CLUSTERS</a>
</li>
<li><a ui-sref="server-group({serverGroup: ctrl.serverInstance.serverGroup})" ui-sref-opts="{reload:true}">{{ctrl.serverInstance.serverGroup}}</a></li>
<li ng-if="ctrl.serverInstance.serverGroup"><a ui-sref="server-group({serverGroup: ctrl.serverInstance.serverGroup})" ui-sref-opts="{reload:true}">{{ctrl.serverInstance.serverGroup}}</a></li>
<li class="active"><strong>{{ctrl.serverInstance.address.name}}</strong></li>
</ol>

Expand Down

0 comments on commit 3c19c2e

Please sign in to comment.