Skip to content

Commit

Permalink
fix: πŸ› add cd to error
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal committed Mar 13, 2021
1 parent 11fc6dc commit ac53191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/ngneat/subscribe/src/lib/subscribe.directive.ts
Expand Up @@ -43,6 +43,7 @@ export class SubscribeDirective<T> implements OnInit, OnDestroy {
},
error: (err) => {
this.context.error = err;
this.cdr[this.strategy]();
},
complete: () => {
this.context.completed = true;
Expand Down

0 comments on commit ac53191

Please sign in to comment.