Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: at670475 <andrea.tabone@broadcom.com>
  • Loading branch information
taban03 committed Jul 24, 2023
1 parent da7f2d3 commit e287f09
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export default class ServiceVersionDiff extends Component {
this.handleVersion2Change = this.handleVersion2Change.bind(this);
}

componentDidMount() {
this.setState({ selectedVersion1: null, selectedVersion2: null });
}

handleVersion1Change = (event) => {
this.setState({ defaultVersion: null });
this.setState({ selectedVersion1: event.target.value });
Expand Down

0 comments on commit e287f09

Please sign in to comment.