We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 063dedb commit bea9ac7Copy full SHA for bea9ac7
src/components/Modal.ts
@@ -50,7 +50,7 @@ export const showModal = (
50
bHideMainWindowForPopouts: false,
51
},
52
): ShowModalResult => {
53
- return showModalRaw(modal, parent || findSP(), props.strTitle, props, undefined, {
+ return showModalRaw(modal, parent || findSP() || window, props.strTitle, props, undefined, {
54
bHideActions: props.bHideActionIcons,
55
});
56
};
0 commit comments