summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2023-01-20 22:31:39 +0000
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-01-23 19:53:48 +0000
commitf6b1fff5f297765305c17b1c6bdf540132232233 (patch)
tree1bbc06d426b2bfbe4b80a2c1b137eb6487dab401 /catalog-ui/src/app/models
parentf0100abd146b8c97e4b1ff0ba74175a24bbc5e98 (diff)
Disable editing of normative data types
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4341 Change-Id: Id7673624032883c641e05fd6e5e3d599f7da14df
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/data-types.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/data-types.ts b/catalog-ui/src/app/models/data-types.ts
index 3b0833b5b4..dfba68e67e 100644
--- a/catalog-ui/src/app/models/data-types.ts
+++ b/catalog-ui/src/app/models/data-types.ts
@@ -39,6 +39,7 @@ export class DataTypeModel {
properties: Array<PropertyBEModel>;
attributes: Array<AttributeBEModel>;
model: Model;
+ normative: boolean;
constructor(dataType?: DataTypeModel) {
if (!dataType) {
@@ -62,6 +63,7 @@ export class DataTypeModel {
}
this.attributes = dataType.attributes;
this.model = dataType.model;
+ this.normative = dataType.normative;
}
public toJSON = ():any => {