Merge branch 'VM/DM-598' into 'master'
DM-598 - Component values cannot be changed manually Closes DM-598 See merge request redactmanager/red-ui!203
This commit is contained in:
commit
c89824f83a
@ -13,7 +13,7 @@
|
||||
<div class="bold">{{ entry.name }}</div>
|
||||
<div [id]="getValueCellId(index)">
|
||||
<iqser-editable-input
|
||||
(save)="saveEdit($event, entry.name)"
|
||||
(save)="saveEdit($event, entry.originalKey)"
|
||||
[canEdit]="canEdit"
|
||||
[cancelTooltip]="'component-log-dialog.actions.cancel-edit' | translate"
|
||||
[editTooltip]="'component-log-dialog.actions.edit' | translate"
|
||||
|
||||
@ -4,15 +4,18 @@ export type ComponentDetails = Record<string, Record<'componentValues', ICompone
|
||||
|
||||
export interface IComponentLogEntry {
|
||||
name: string;
|
||||
originalKey: string;
|
||||
componentValues: IComponentValue[];
|
||||
}
|
||||
|
||||
export class ComponentLogEntry implements IComponentLogEntry {
|
||||
readonly name: string;
|
||||
readonly originalKey: string;
|
||||
readonly componentValues: ComponentValue[];
|
||||
|
||||
constructor(entry: IComponentLogEntry) {
|
||||
this.name = entry.name.replaceAll('_', ' ');
|
||||
this.originalKey = entry.name;
|
||||
this.componentValues = entry.componentValues;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user