diff --git a/apps/web/process/hooks/init/get-main-data.js b/apps/web/process/hooks/init/get-main-data.js index 67d69a1..fa00b16 100644 --- a/apps/web/process/hooks/init/get-main-data.js +++ b/apps/web/process/hooks/init/get-main-data.js @@ -17,13 +17,13 @@ const currentDate = dayjs().utc(false).toISOString(); * @param {*} onCompleted */ function getMainData({ query }, onCompleted) { - query({ - query: CRMTypes.GetLeaseObjectTypesDocument, - }).then(({ data }) => { - onCompleted({ - selectLeaseObjectType: data?.evo_leasingobject_types, - }); - }); + // query({ + // query: CRMTypes.GetLeaseObjectTypesDocument, + // }).then(({ data }) => { + // onCompleted({ + // selectLeaseObjectType: data?.evo_leasingobject_types, + // }); + // }); query({ query: CRMTypes.GetGpsBrandsDocument, @@ -67,21 +67,21 @@ function getMainData({ query }, onCompleted) { }); }); - query({ - query: CRMTypes.GetBrandsDocument, - }).then(({ data }) => { - onCompleted({ - selectBrand: data?.evo_brands, - }); - }); + // query({ + // query: CRMTypes.GetBrandsDocument, + // }).then(({ data }) => { + // onCompleted({ + // selectBrand: data?.evo_brands, + // }); + // }); - query({ - query: CRMTypes.GetDealersDocument, - }).then(({ data }) => { - onCompleted({ - selectDealer: data?.dealers, - }); - }); + // query({ + // query: CRMTypes.GetDealersDocument, + // }).then(({ data }) => { + // onCompleted({ + // selectDealer: data?.dealers, + // }); + // }); query({ query: CRMTypes.GetTelematicTypesDocument,