init/get-main-data: disable some queries
This commit is contained in:
parent
6b7c679a0d
commit
c092b8f47c
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user