diff --git a/packages/insomnia-app/app/ui/components/panes/response-pane.tsx b/packages/insomnia-app/app/ui/components/panes/response-pane.tsx index d513cebc8..c96d06885 100644 --- a/packages/insomnia-app/app/ui/components/panes/response-pane.tsx +++ b/packages/insomnia-app/app/ui/components/panes/response-pane.tsx @@ -10,6 +10,7 @@ import { Tab, TabList, TabPanel, Tabs } from 'react-tabs'; import { AUTOBIND_CFG, PREVIEW_MODE_SOURCE } from '../../../common/constants'; import { exportHarCurrentRequest } from '../../../common/har'; +import { CurlRequestEvent } from '../../../common/ipc-events'; import { getSetCookieHeaders } from '../../../common/misc'; import * as models from '../../../models'; import type { Environment } from '../../../models/environment'; @@ -251,7 +252,7 @@ export class ResponsePane extends PureComponent { return ( ipcRenderer.send('cancelRequestById', request._id)} + handleCancel={() => ipcRenderer.send(CurlRequestEvent.cancel, request._id)} loadStartTime={loadStartTime} /> @@ -366,7 +367,7 @@ export class ResponsePane extends PureComponent { ipcRenderer.send('cancelRequestById', request._id)} + handleCancel={() => ipcRenderer.send(CurlRequestEvent.cancel, request._id)} loadStartTime={loadStartTime} /> diff --git a/packages/insomnia-app/config/config.json b/packages/insomnia-app/config/config.json index 72160b2c4..61a5d2389 100644 --- a/packages/insomnia-app/config/config.json +++ b/packages/insomnia-app/config/config.json @@ -1,5 +1,5 @@ { - "version": "2021.7.0", + "version": "2021.7.1", "name": "insomnia", "executableName": "insomnia", "appId": "com.insomnia.app",