templates button - rename from hasTemplates to isInstantiationTemplateExists on the...
[vid.git] / vid-webpack-master / src / app / shared / components / genericFormPopup / generic-form-popup.service.ts
index 2998ba9..e3cdaef 100644 (file)
@@ -95,10 +95,10 @@ export class GenericFormPopupService {
 
 
 
-  shouldShowTemplateBtn = (hasTemplate: boolean) : boolean => {
+  shouldShowTemplateBtn = (isInstantiationTemplateExists: boolean) : boolean => {
     const instantiationTemplateFlag =  this._featureFlagsService.getFlagState(Features.FLAG_2004_INSTANTIATION_TEMPLATES_POPUP);
     if(instantiationTemplateFlag){
-      return hasTemplate;
+      return isInstantiationTemplateExists;
     }
     return false;
   }