Skip to content

Commit

Permalink
fix(BlockUIContentComponent): updateInstanceBlockCount (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
raulzrosa authored and kuuurt13 committed Jan 31, 2019
1 parent d4c90aa commit d5e2991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/block-ui-content/block-ui-content.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ export class BlockUIContentComponent implements OnInit, AfterViewInit, AfterView
}

private updateInstanceBlockCount() {
if (this.blockUI.blockUIInstances[name]) {
this.blockUI.blockUIInstances[name].blockCount = this.state.blockCount;
if (this.blockUI.blockUIInstances[this.name]) {
this.blockUI.blockUIInstances[this.name].blockCount = this.state.blockCount;
}
}

Expand Down

0 comments on commit d5e2991

Please sign in to comment.