diff --git a/ui/src/app/metadata/configuration/component/property/array-property.component.html b/ui/src/app/metadata/configuration/component/property/array-property.component.html index ed7591702..bfda5c422 100644 --- a/ui/src/app/metadata/configuration/component/property/array-property.component.html +++ b/ui/src/app/metadata/configuration/component/property/array-property.component.html @@ -1,7 +1,8 @@
{{ property.name }}
-
+
+ Changed:
{{ property.items.properties[prop].title }}
@@ -36,7 +37,9 @@
+ [ngClass]="{'bg-diff': property.differences && item.differences}" + tabindex="0"> + Changed: {{ item.label }}
-
+
+ Changed: {{ property.name }}

-

diff --git a/ui/src/app/metadata/configuration/component/property/array-property.component.ts b/ui/src/app/metadata/configuration/component/property/array-property.component.ts index e3e995c2b..4d09d9a8f 100644 --- a/ui/src/app/metadata/configuration/component/property/array-property.component.ts +++ b/ui/src/app/metadata/configuration/component/property/array-property.component.ts @@ -33,7 +33,7 @@ export class ArrayPropertyComponent extends ConfigurationPropertyComponent imple return UriValidator.isUri(str); } - get dataList(): { key: string, label: string }[] { + get dataList(): { key: string, label: string, differences?: boolean }[] { return this.property.widget.data; } } diff --git a/ui/src/app/metadata/configuration/component/property/primitive-property.component.html b/ui/src/app/metadata/configuration/component/property/primitive-property.component.html index 6abfa315d..5e582350d 100644 --- a/ui/src/app/metadata/configuration/component/property/primitive-property.component.html +++ b/ui/src/app/metadata/configuration/component/property/primitive-property.component.html @@ -1,3 +1,5 @@ +
+Changed:
@@ -9,4 +11,5 @@ class="d-block" role="definition" [ngStyle]="{'width': width}">{{ v ? v : (v === false) ? v : '-' }} +
\ No newline at end of file diff --git a/ui/src/app/metadata/domain/model/property.ts b/ui/src/app/metadata/domain/model/property.ts index dba90e82e..51a4bf06e 100644 --- a/ui/src/app/metadata/domain/model/property.ts +++ b/ui/src/app/metadata/domain/model/property.ts @@ -10,6 +10,7 @@ export interface Property { id: string; data?: {key: string, label: string}[]; dataUrl?: string; + differences?: string; [propertyName: string]: any; }; }