From f6b1fff5f297765305c17b1c6bdf540132232233 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Fri, 20 Jan 2023 22:31:39 +0000 Subject: Disable editing of normative data types Signed-off-by: MichaelMorris Issue-ID: SDC-4341 Change-Id: Id7673624032883c641e05fd6e5e3d599f7da14df --- catalog-ui/src/app/models/data-types.ts | 2 ++ .../src/app/ng2/pages/type-workspace/type-workspace.component.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/app') 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; attributes: Array; 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 => { diff --git a/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.html b/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.html index 61516278da..105c89d7a4 100644 --- a/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.html +++ b/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.html @@ -44,7 +44,7 @@
- +
-- cgit 1.2.3-korg