Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tharikaGitHub committed Jun 9, 2020
1 parent 8404ab6 commit 218fd58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const RouteMenuMapping = (intl) => [
}),
path: '/throttling/subscription',
component: () => <SubscriptionThrottlingPolicies />,
icon: <PhonelinkSetupIcon />,
icon: <ShoppingBasketIcon />,
},
{
id: intl.formatMessage({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import PropTypes from 'prop-types';
import DialogContentText from '@material-ui/core/DialogContentText';
import DeleteForeverIcon from '@material-ui/icons/DeleteForever';
import FormDialogBase from 'AppComponents/AdminPages/Addons/FormDialogBase';
import { injectIntl, FormattedMessage } from 'react-intl';
import { FormattedMessage } from 'react-intl';
import API from 'AppData/api';

/**
Expand Down Expand Up @@ -91,4 +91,4 @@ Delete.propTypes = {
name: PropTypes.number.isRequired,
}).isRequired,
};
export default injectIntl(Delete);
export default Delete;
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ class API extends Resource {
});
}

/**
* Get Subscription Throttling Policies
*/
getSubscritionPolicyList() {
return this.client.then((client) => {
return client.apis['Subscription Policy (Collection)'].get_throttling_policies_subscription(
Expand Down

0 comments on commit 218fd58

Please sign in to comment.