Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
fix: add resetState function in projectile model (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
vikram-raj authored and edewit committed Feb 4, 2019
1 parent 1ceb633 commit b5f0d33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/ngx-launcher/src/lib/model/projectile.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export class Projectile<T> {
return this._state[stepId];
}

resetState() {
this._state = {};
}

get redirectUrl(): string {
return window.location.href + this.toUrl();
}
Expand Down

0 comments on commit b5f0d33

Please sign in to comment.