Skip to content

Commit

Permalink
Reload page when reload icon is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Jun 27, 2021
1 parent 5183fa5 commit e00d6d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ui/list/list.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default class List extends Component {
onClick={() => this.setState({ dialogModule: mod })}
key={mod.moduleName}
>
<td>
<td onClick={this.reload} role="button" tabIndex={0}>
<div className="imo-status imo-next-override" />
<div>Inline Override</div>
<div className="imo-needs-refresh" />
Expand Down Expand Up @@ -385,6 +385,11 @@ export default class List extends Component {
);
}

reload = (evt) => {
evt.stopPropagation();
window.location.reload();
};

cancel = () => {
this.setState({ dialogModule: null, dialogExternalMap: null });
};
Expand Down

0 comments on commit e00d6d9

Please sign in to comment.