Skip to content

Commit

Permalink
fix(core/serverGroup): Fix a bug where serverGroups do not load corre…
Browse files Browse the repository at this point in the history
…ctly when checking for sticky headers
  • Loading branch information
jrsquared committed Apr 3, 2017
1 parent a80e772 commit c7a85b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/modules/core/serverGroup/serverGroup.component.ts
Expand Up @@ -55,10 +55,10 @@ export class ServerGroupController implements IComponentController {
this.setViewModel();

this.headerIsSticky = function() {
if (!this.$scope.sortFilter.showAllInstances) {
if (!this.sortFilter.showAllInstances) {
return false;
}
if (this.$scope.sortFilter.listInstances) {
if (this.sortFilter.listInstances) {
return this.viewModel.instances.length > 1;
}
return this.viewModel.instances.length > 20;
Expand Down

0 comments on commit c7a85b6

Please sign in to comment.