Add afterClose param to reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -103,11 +103,12 @@ export function openSearch(term) {
|
||||
});
|
||||
}
|
||||
|
||||
export function openReusableContextMenu(placement, cords, render) {
|
||||
export function openReusableContextMenu(placement, cords, render, afterClose) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.OPEN_REUSABLE_CONTEXT_MENU,
|
||||
placement,
|
||||
cords,
|
||||
render,
|
||||
afterClose,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user