Skip to content

Commit daf5f62

Browse files
ehamaihartra344
authored andcommitted
Fix regression on FunctionAppContextComponent
1 parent b626bd6 commit daf5f62

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

AzureFunctions.AngularClient/src/app/shared/components/function-app-context-component.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ReplaySubject } from 'rxjs/ReplaySubject';
1414

1515

1616
export abstract class FunctionAppContextComponent extends ErrorableComponent implements OnDestroy {
17-
private _viewInfo: TreeViewInfo<any>;
17+
public viewInfo: TreeViewInfo<any>;
1818
public context: FunctionAppContext;
1919

2020
protected viewInfoEvents: Observable<TreeViewInfo<any> & {
@@ -30,14 +30,10 @@ export abstract class FunctionAppContextComponent extends ErrorableComponent imp
3030
private timeout: number;
3131

3232
@Input('viewInfo')
33-
public set viewInfo(viewInfo: TreeViewInfo<any>) {
33+
private set viewInfoComponent_viewInfo(viewInfo: TreeViewInfo<any>) {
3434
this.viewInfoSubject.next(viewInfo);
3535
}
3636

37-
public get viewInfo() {
38-
return this._viewInfo;
39-
}
40-
4137
constructor(componentName: string, functionAppService: FunctionAppService, broadcastService: BroadcastService, setBusy?: Function, private clearBusy?: Function) {
4238
super(componentName, broadcastService);
4339

AzureFunctions.AngularClient/src/app/site/site-dashboard/site-dashboard.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export class SiteDashboardComponent extends NavigableComponent implements OnDest
271271
dirty: false,
272272
componentFactory: null,
273273
componentInput: input
274-
? Object.assign({}, input, { viewInfo: input.viewInfoInput })
274+
? Object.assign({}, input, { viewInfo: input.viewInfoInput, viewInfoComponent_viewInfo: input.viewInfoInput })
275275
: {}
276276
};
277277

0 commit comments

Comments
 (0)