Skip to content

Commit

Permalink
Fixing duplicated filter items (cribeiro84#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
cribeiro84 authored Apr 3, 2021
1 parent d7cdc2a commit 0bb78f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tabs/PullRequestsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ export class PullRequestsTab extends React.Component<
private async initializePage() {
let { savedProjects } = this.state;
this.setState({
repositories: [],
sourceBranchList: [],
targetBranchList: [],
pullRequests: [],
});

Expand All @@ -252,6 +255,9 @@ export class PullRequestsTab extends React.Component<
private async loadAllProjects(): Promise<void> {
let { savedProjects } = this.state;
this.setState({
repositories: [],
sourceBranchList: [],
targetBranchList: [],
pullRequests: [],
});

Expand Down

0 comments on commit 0bb78f3

Please sign in to comment.