Add feature toggle support for PNF PnP
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / services / creationService.js
index f2a77e2..b896847 100755 (executable)
@@ -245,7 +245,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
             }\r
 \r
             //if service model has a pnf, add a PNF ID parameter\r
-            if (DataService.getPnf()) {\r
+            if (featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_PNP_INSTANTIATION) && DataService.getPnf()) {\r
                 parameterList = parameterList.concat([ FIELD.PARAMETER.PNF_ID ]);\r
             }\r
         }\r