Skip to content

Commit

Permalink
Close export kebab once csv or json is selected (RedHatInsights#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenBW committed Jun 21, 2019
1 parent 84ad494 commit 3921ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PresentationalComponents/RulesTable/RulesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ class RulesTable extends Component {

onKebabSelect = async (event) => {
try {
this.setState({ isKebabOpen: false });
await API.get(`${BASE_URL}/export/hits.${event.target.value}/`);
} catch (error) {
this.props.addNotification({
Expand Down

0 comments on commit 3921ffa

Please sign in to comment.