summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/model.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/catalog-ui/src/app/models/model.ts b/catalog-ui/src/app/models/model.ts
index a5e6021284..0f7cab598a 100644
--- a/catalog-ui/src/app/models/model.ts
+++ b/catalog-ui/src/app/models/model.ts
@@ -19,10 +19,14 @@
export class Model {
name: string;
+ derivedFrom: string;
+ modelType: string;
constructor(param?: any) {
if (param) {
- this.name = param;
+ this.name = param.name;
+ this.derivedFrom = param.derivedFrom;
+ this.modelType = param.modelType;
}
}