Skip to content

Commit

Permalink
Update SaveModal.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lxzhangchao authored Jul 19, 2017
1 parent 2133140 commit ab2dccb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions superset/assets/javascripts/explore/components/SaveModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ class SaveModal extends React.Component {
};
}
componentDidMount() {
this.loadLocales();
this.props.actions.fetchDashboards(this.props.user_id);
}

onChange(name, event) {
switch (name) {
case 'newSliceName':
Expand All @@ -53,17 +51,6 @@ class SaveModal extends React.Component {
break;
}
}

loadLocales() {
intl.init({
currentLocale: getLanguage(),
locales,
})
.then(() => {
this.setState({initDone: true});
});
}

changeAction(action) {
this.setState({ action });
}
Expand Down

0 comments on commit ab2dccb

Please sign in to comment.