aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils/component-factory.ts
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2021-06-16 23:21:04 +0100
committerMichael Morris <michael.morris@est.tech>2021-07-15 13:22:37 +0000
commit53df976426f8845adf58e8ff9355764343a38549 (patch)
treeaa1653532eaf24722be2689f3d6addd0f15094eb /catalog-ui/src/app/utils/component-factory.ts
parentf94241f6b5f25ddda29e505306b16af7f5b82749 (diff)
Specify model at service creation
Allows a user to select a model when designing a service Issue-ID: SDC-3621 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I386e43ddeb649a4ba0805f153e4b47e8a528cff0
Diffstat (limited to 'catalog-ui/src/app/utils/component-factory.ts')
-rw-r--r--catalog-ui/src/app/utils/component-factory.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-ui/src/app/utils/component-factory.ts b/catalog-ui/src/app/utils/component-factory.ts
index 667c6bceb3..2ff2af983e 100644
--- a/catalog-ui/src/app/utils/component-factory.ts
+++ b/catalog-ui/src/app/utils/component-factory.ts
@@ -199,6 +199,7 @@ export class ComponentFactory {
component.setComponentMetadata(response.metadata);
component.derivedFromGenericType = response.derivedFromGenericType;
component.derivedFromGenericVersion = response.derivedFromGenericVersion;
+ component.model = response.model;
deferred.resolve(component);
});
return deferred.promise;