Skip to content

Commit 6f1b536

Browse files
authored
Merge pull request #4297 from parasharrajat/context-menu
[NO QA] Fix crash
2 parents 91b780e + 52f48ac commit 6f1b536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class PopoverReportActionContextMenu extends React.Component {
4646
this.confirmDeleteAndHideModal = this.confirmDeleteAndHideModal.bind(this);
4747
this.hideDeleteModal = this.hideDeleteModal.bind(this);
4848
this.showDeleteModal = this.showDeleteModal.bind(this);
49-
this.runAfterContextMenuHide = this.runAfterContextMenuHide.bind(this);
49+
this.runAndResetOnPopoverHide = this.runAndResetOnPopoverHide.bind(this);
5050
this.getContextMenuMeasuredLocation = this.getContextMenuMeasuredLocation.bind(this);
5151
this.isActiveReportAction = this.isActiveReportAction.bind(this);
5252
}
@@ -226,7 +226,7 @@ class PopoverReportActionContextMenu extends React.Component {
226226
<PopoverWithMeasuredContent
227227
isVisible={this.state.isPopoverVisible}
228228
onClose={this.hideContextMenu}
229-
onModalHide={this.runAfterContextMenuHide}
229+
onModalHide={this.runAndResetOnPopoverHide}
230230
anchorPosition={this.state.popoverAnchorPosition}
231231
animationIn="fadeIn"
232232
animationOutTiming={1}

0 commit comments

Comments
 (0)