Make Service base type optional
[sdc.git] / catalog-ui / src / app / models / components / service.ts
index d11a06a..1c7c6b6 100644 (file)
@@ -220,6 +220,10 @@ export class Service extends Component {
         this.iconSprite = "sprite-services-icons";
     }
 
+    public isSubstituteCandidate(): boolean {
+        return !!this.derivedFromGenericType;
+    }
+
     public toJSON = ():any => {
         let temp = angular.copy(this);
         temp.componentService = undefined;