Skip to content

Commit

Permalink
Merge branch 'dev' into chrome-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthlatest committed Mar 20, 2017
2 parents 73722cd + 58aadba commit 4b86fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/queryBlocks/queryBlocks.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class QueryBlocksComponent implements OnInit, OnChanges {

ngOnChanges(nextProps) {
this.joiningQuery = this.result.joiningQuery;
if(nextProps.isAppbaseApp.currentValue) {
if(nextProps && (nextProps.isAppbaseApp && nextProps.isAppbaseApp.currentValue) || (nextProps.selectedTypes && nextProps.selectedTypes.currentValue.length)) {
this.setPopover();
}
}
Expand Down

0 comments on commit 4b86fd1

Please sign in to comment.