From b5f468ea9dd4f99bb1cfb3c70a844f30d9447658 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Fri, 19 Nov 2021 19:33:04 +0100 Subject: [PATCH] Minor code cleanup --- projects/common/element-component.directive.ts | 2 +- .../compound-elements/compound-element.directive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common/element-component.directive.ts b/projects/common/element-component.directive.ts index a753ecf38..192a635d0 100644 --- a/projects/common/element-component.directive.ts +++ b/projects/common/element-component.directive.ts @@ -7,7 +7,7 @@ import { UIElement } from './models/uI-element'; @Directive() export abstract class ElementComponent implements AfterContentChecked { abstract elementModel: UIElement; - project!: 'player' | 'editor'; // TODO x2 + project!: 'player' | 'editor'; constructor(private elementRef: ElementRef) {} diff --git a/projects/common/element-components/compound-elements/compound-element.directive.ts b/projects/common/element-components/compound-elements/compound-element.directive.ts index 1a57caf90..b6dbba98c 100644 --- a/projects/common/element-components/compound-elements/compound-element.directive.ts +++ b/projects/common/element-components/compound-elements/compound-element.directive.ts @@ -4,7 +4,7 @@ import { } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { ElementComponent } from '../../element-component.directive'; -import { InputElement, UIElement } from '../../models/uI-element'; +import { InputElement } from '../../models/uI-element'; @Directive({ selector: 'app-compound-element' }) -- GitLab