diff --git a/src/App.tsx b/src/App.tsx index 0f25d49..db0ed6c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -280,7 +280,11 @@ const App = () => { width={520} visible={isSelectOrganizationsVisble} onOk={selectOrgOkHandler} - closable={false} + onCancel={() => { + process.env.NODE_ENV !== 'production' + ? (window.location.href = sanboxSetting.api.url) + : (window.location.href = productionSetting.api.url); + }} footer={[ <>