aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/components/service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/components/service.ts')
-rw-r--r--catalog-ui/src/app/models/components/service.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/components/service.ts b/catalog-ui/src/app/models/components/service.ts
index d11a06abdf..1c7c6b60b4 100644
--- a/catalog-ui/src/app/models/components/service.ts
+++ b/catalog-ui/src/app/models/components/service.ts
@@ -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;