mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-864] codelyzer form component (#2076)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
import { AfterViewInit, Component, OnInit } from '@angular/core';
|
||||
import { FormService } from './../../../services/form.service';
|
||||
import { baseHost , WidgetComponent } from './../widget.component';
|
||||
import { ContainerWidgetModel } from './container.widget.model';
|
||||
import { ContainerWidgetComponentModel } from './container.widget.model';
|
||||
|
||||
declare var componentHandler: any;
|
||||
|
||||
@@ -28,9 +28,9 @@ declare var componentHandler: any;
|
||||
styleUrls: ['./container.widget.css'],
|
||||
host: baseHost
|
||||
})
|
||||
export class ContainerWidget extends WidgetComponent implements OnInit, AfterViewInit {
|
||||
export class ContainerWidgetComponent extends WidgetComponent implements OnInit, AfterViewInit {
|
||||
|
||||
content: ContainerWidgetModel;
|
||||
content: ContainerWidgetComponentModel;
|
||||
|
||||
constructor(public formService: FormService) {
|
||||
super(formService);
|
||||
@@ -44,7 +44,7 @@ export class ContainerWidget extends WidgetComponent implements OnInit, AfterVie
|
||||
|
||||
ngOnInit() {
|
||||
if (this.field) {
|
||||
this.content = new ContainerWidgetModel(this.field);
|
||||
this.content = new ContainerWidgetComponentModel(this.field);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user