Skip to content

Commit

Permalink
fixed (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnchartedBull committed Nov 26, 2019
1 parent 66b5c44 commit a2c0678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/main-screen/main-screen.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class MainScreenComponent implements OnInit, OnDestroy {
ngOnInit() {
this.subscriptions.add(this.jobService.getObservable().subscribe((job: Job) => {
if (job !== null) {
this.printing = job.status === 'Printing';
this.printing = ['Printing', 'Pausing', 'Paused', 'Cancelling'].includes(job.status);
}
}));
}
Expand Down

0 comments on commit a2c0678

Please sign in to comment.