Skip to content

Commit eff08c2

Browse files
committed
passing data to created component, removed obsolete files
1 parent 734defd commit eff08c2

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

lib/process-services-cloud/src/lib/screen/components/screen-cloud/screen-cloud.component.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/process-services-cloud/src/lib/screen/components/screen-cloud/screen-cloud.component.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ export class ScreenCloudComponent implements OnInit {
5151
this.screenComponent = { type: this.screenId };
5252
const componentType = this.screenRenderingService.resolveComponentType(this.screenComponent);
5353
this.componentRef = this.container.createComponent(componentType);
54+
if (this.taskId) {
55+
this.componentRef.setInput('taskId', this.taskId);
56+
}
57+
if (this.appName) {
58+
this.componentRef.setInput('appName', this.appName);
59+
}
60+
if (this.screenId) {
61+
this.componentRef.setInput('screenId', this.screenId);
62+
}
5463
}
5564
}
5665
}

lib/process-services-cloud/src/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)