diff --git a/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.ts b/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.ts index cdac6dc6c80aaf66a6a4b864ea5008ebf9a4aca1..7d0541e0b129e3231d66d47a01213c0a66330039 100644 --- a/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.ts +++ b/projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.ts @@ -114,8 +114,8 @@ export class ElementPropertiesComponent implements OnInit, OnDestroy { this.updateModel(property, event.container.data); } - removeOption(property: string, option: string): void { - const valueList: string[] = this.combinedProperties[property] as string[]; + removeOption(property: string, option: any): void { + const valueList: any[] = this.combinedProperties[property] as any[]; valueList.splice(valueList.indexOf(option), 1); this.updateModel(property, valueList); }