aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/resolvers
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-11-20 10:41:18 +0200
committerEylon Malin <eylon.malin@intl.att.com>2019-11-20 10:41:18 +0200
commit6225ebb29254ca6381ce91a3e0553f592b2fbc40 (patch)
tree43efd98e2343b45fd43ea3ef4c88112c241082b3 /vid-webpack-master/src/app/shared/resolvers
parent7b04c91400593f64cf83c8feae1f4db1db7d69ad (diff)
fix is a-la-carte cross modern UI
Issue-ID: VID-701 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I6248382d71e6cec54104d42d95b0130d51404410
Diffstat (limited to 'vid-webpack-master/src/app/shared/resolvers')
-rw-r--r--vid-webpack-master/src/app/shared/resolvers/viewEdit/viewEdit.resolver.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/vid-webpack-master/src/app/shared/resolvers/viewEdit/viewEdit.resolver.ts b/vid-webpack-master/src/app/shared/resolvers/viewEdit/viewEdit.resolver.ts
index 540e02fe6..075e18f25 100644
--- a/vid-webpack-master/src/app/shared/resolvers/viewEdit/viewEdit.resolver.ts
+++ b/vid-webpack-master/src/app/shared/resolvers/viewEdit/viewEdit.resolver.ts
@@ -10,6 +10,7 @@ import {ServiceInstance} from "../../models/serviceInstance";
import * as _ from "lodash";
import {ModelInfo} from "../../models/modelInfo";
import {FeatureFlagsService, Features} from "../../services/featureFlag/feature-flags.service";
+import {Utils} from "../../utils/utils";
@Injectable()
export class ViewEditResolver implements Resolve<Observable<boolean>> {
@@ -69,7 +70,7 @@ export class ViewEditResolver implements Resolve<Observable<boolean>> {
};
setIsALaCarte(service: any, instantiationType) :void{
- service.isALaCarte = instantiationType === 'ALaCarte';
+ service.isALaCarte = Utils.isALaCarte(instantiationType);
};
}