Skip to content

Commit

Permalink
Reset state used for force fetching of requests (#413)
Browse files Browse the repository at this point in the history
* Reset state when log out
  • Loading branch information
JunWei96 authored Apr 19, 2020
1 parent 497311c commit c975e5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CATcher",
"version": "3.2.3",
"version": "3.2.4",
"main": "main.js",
"scripts": {
"postinstall": "npm run postinstall:electron && electron-builder install-app-deps",
Expand Down
1 change: 1 addition & 0 deletions src/app/core/services/issue.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ export class IssueService {
reset() {
this.issues = undefined;
this.issues$.next(new Array<Issue>());
this.toForceFetch = true;
}

private initializeData(): Observable<Issue[]> {
Expand Down

0 comments on commit c975e5b

Please sign in to comment.