Skip to content

Commit

Permalink
feat: Resolved review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tbalar-splunk committed Apr 19, 2021
1 parent 58b0571 commit 5998974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/main/webapp/components/CustomMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CustomMenu extends Component {
componentDidMount() {
const globalConfig = getUnifiedConfigs();
this.setState({ loading: true });
this.loadCustomControl().then((Control) => {
this.loadCustomMenu().then((Control) => {
const customControl = new Control(globalConfig, this.el, this.setValue);
customControl.render();
this.setState({ loading: false });
Expand All @@ -34,7 +34,7 @@ class CustomMenu extends Component {
this.props.handleChange(newValue);
};

loadCustomControl = () => {
loadCustomMenu = () => {
const globalConfig = getUnifiedConfigs();
const appName = globalConfig.meta.name;
return new Promise((resolve) => {
Expand Down

0 comments on commit 5998974

Please sign in to comment.