Skip to content

Commit

Permalink
detect change update (b)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmuster committed Dec 22, 2018
1 parent 6ee582a commit 1365903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/stocklist/stocklist.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ export class StocklistComponent implements OnInit
{
this.cdr.detach();

/* execute change interval */
/* execute change interval every so often as based on change configuration */
if(this.changeInterval > 0)
{
setInterval(() => {
this.update();

}, this.changeInterval);
}
}
Expand Down

0 comments on commit 1365903

Please sign in to comment.