From 6225ebb29254ca6381ce91a3e0553f592b2fbc40 Mon Sep 17 00:00:00 2001 From: Eylon Malin Date: Wed, 20 Nov 2019 10:41:18 +0200 Subject: fix is a-la-carte cross modern UI Issue-ID: VID-701 Signed-off-by: Eylon Malin Change-Id: I6248382d71e6cec54104d42d95b0130d51404410 --- .../genericFormServices/service/service.popup.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vid-webpack-master/src/app/shared/components/genericFormPopup') diff --git a/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/service/service.popup.service.ts b/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/service/service.popup.service.ts index 3fd44974a..757536d13 100644 --- a/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/service/service.popup.service.ts +++ b/vid-webpack-master/src/app/shared/components/genericFormPopup/genericFormServices/service/service.popup.service.ts @@ -20,6 +20,7 @@ import {ModelInfo} from "../../../../models/modelInfo"; import {FormControlModel} from "../../../../models/formControlModels/formControl.model"; import {createServiceInstance, updateServiceInstance} from "../../../../storeUtil/utils/service/service.actions"; import * as _ from 'lodash'; +import {Utils} from "../../../../utils/utils"; @Injectable() export class ServicePopupService implements GenericPopupInterface { @@ -169,7 +170,7 @@ export class ServicePopupService implements GenericPopupInterface { }; setIsALaCarte = (formValues: any, instantiationType) => { - formValues.isALaCarte = instantiationType !== 'Macro'; + formValues.isALaCarte = Utils.isALaCarte(instantiationType); }; setTestApi = (formValues: any) =>{ -- cgit 1.2.3-korg