Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit a86d74b

Browse files
jvalkealilayaperumalg
authored andcommitted
TaskService not initialised properly
- Fix appRegistrations getting created in a service constructor just like other paged instances. - Fixes #306
1 parent 22042bf commit a86d74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/app/tasks/tasks.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export class TasksService {
2222
private taskDefinitionsUrl = '/tasks/definitions';
2323
public taskExecutions: Page<TaskExecution>;
2424
public taskDefinitions: Page<TaskDefinition>;
25-
2625
public appRegistrations: Page<AppRegistration>;
2726

2827
constructor(private http: Http, private errorHandler: ErrorHandler, private sharedAppsService: SharedAppsService) {
2928
this.taskExecutions = new Page<TaskExecution>();
3029
this.taskDefinitions = new Page<TaskDefinition>();
30+
this.appRegistrations = new Page<AppRegistration>();
3131
}
3232

3333
getExecutions(): Observable<Page<TaskExecution>> {

0 commit comments

Comments
 (0)