Merged in feature/IO-2340-CDK-New-Unsold-Vehicle (pull request #869)

IO-2340 CDK New Unsold Vehicle adjustments
This commit is contained in:
Allan Carr
2023-06-22 22:43:26 +00:00
3 changed files with 32 additions and 22 deletions

View File

@@ -187,8 +187,9 @@ export function DmsPostForm({ bodyshop, socket, job, logsRef }) {
<Form.Item
name="dms_unsold"
label={t("jobs.fields.dms.dms_unsold")}
initialValue={false}
>
<Switch defaultChecked={false} />
<Switch />
</Form.Item>
</Space>
</div>

View File

@@ -45,7 +45,8 @@ export default connect(mapStateToProps, mapDispatchToProps)(DmsContainer);
export const socket = SocketIO(
process.env.NODE_ENV === "production"
? process.env.REACT_APP_AXIOS_BASE_API_URL
: window.location.origin, //"http://localhost:4000" for dev testing,
: window.location.origin,
// "http://localhost:4000", // for dev testing,
{
path: "/ws",
withCredentials: true,