diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index 97880771f..0234118c6 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -3580,6 +3580,9 @@ export default { * @returns {Promise} */ openDialogNewWindow({state, dispatch}, dialogId) { + if ($A.runNum(dialogId) <= 0) { + return + } const dialogData = state.cacheDialogs.find(({id}) => id === dialogId) || {} dispatch('openChildWindow', { name: `dialog-${dialogId}`,