Skip to content

Commit

Permalink
fix(bar): overlay not disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
kKen94 committed Aug 18, 2020
1 parent c40c98d commit 8282af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/lib/src/lib/bar/bar.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export class BarService {
complete(): Promise<unknown> {
this.set(99);
return new Promise(resolve => {
return setTimeout(() => {
setTimeout(() => {
clearInterval(this.interval);
this.progress = 0;
this.value = 0;
return resolve;
resolve();
}, 200);
});
}
Expand Down

0 comments on commit 8282af3

Please sign in to comment.