Fix: Request-send action should make the Tab permanent/non-preview

This commit is contained in:
ramki-bruno
2025-02-06 22:40:23 +05:30
parent 722d9788ca
commit deaedf6627

View File

@@ -43,7 +43,8 @@ const actionsToIntercept = [
'collections/addFolderVar',
'collections/updateFolderVar',
'collections/deleteFolderVar',
'collections/updateRequestDocs'
'collections/updateRequestDocs',
'collections/runRequestEvent', // TODO: This doesn't necessarily related to a draft state, need to rethink.
];
export const draftDetectMiddleware = ({ dispatch, getState }) => (next) => (action) => {