@@ -10,7 +10,7 @@ import { ModalEditResolutionStepStateComponent } from '../../@modals/modal-edit-
1010import { NzNotificationService } from 'ng-zorro-antd/notification' ;
1111import Step from '../../@models/step.model' ;
1212import { ModalApiYamlEditComponent } from '../../@modals/modal-api-yaml-edit/modal-api-yaml-edit.component' ;
13- import { ApiService } from '../../@services/api.service' ;
13+ import { ApiService , UTaskLibOptions } from '../../@services/api.service' ;
1414import { TasksListComponentOptions } from '../tasks-list/tasks-list.component' ;
1515
1616@Component ( {
@@ -22,7 +22,7 @@ export class StepsListComponent implements OnChanges {
2222 @Input ( ) resolution : any ;
2323 @Input ( ) selectedStep : string ;
2424 @Output ( ) stepChanged = new EventEmitter < Step > ( ) ;
25- @Input ( ) options ?: TasksListComponentOptions = new TasksListComponentOptions ( ) ;
25+ @Input ( ) options ?: TasksListComponentOptions = new TasksListComponentOptions ( { } , this . _options ) ;
2626 displayDetails : { [ key : string ] : boolean } = { } ;
2727 filter : any = {
2828 tags : [ ]
@@ -46,6 +46,7 @@ export class StepsListComponent implements OnChanges {
4646 defaultState ;
4747
4848 constructor (
49+ private _options : UTaskLibOptions ,
4950 private _modal : NzModalService ,
5051 private _workflowService : WorkflowService ,
5152 private _notif : NzNotificationService ,
0 commit comments