mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-13 18:50:29 +03:00
Add afterClose param to reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
c50565dfda
commit
e67abae3e0
3 changed files with 8 additions and 3 deletions
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ class Navigation extends EventEmitter {
|
|||
action.placement,
|
||||
action.cords,
|
||||
action.render,
|
||||
action.afterClose,
|
||||
);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue