fixed comment
This commit is contained in:
parent
98ef4ebfe9
commit
c205f405d6
|
@ -98,39 +98,39 @@ export class SettingComponent implements OnInit, AfterContentInit {
|
|||
|
||||
this.treeNodes = this.convertViewHost(this.testObj);
|
||||
|
||||
// this.settingSucceed$.subscribe(
|
||||
// (succeed: boolean) => {
|
||||
// if (succeed) {
|
||||
// this.started = true;
|
||||
// }
|
||||
// },
|
||||
// (error: RPCClientError) => {
|
||||
// console.log(error.response.message);
|
||||
// }
|
||||
// );
|
||||
this.settingSucceed$.subscribe(
|
||||
(succeed: boolean) => {
|
||||
if (succeed) {
|
||||
this.started = true;
|
||||
}
|
||||
},
|
||||
(error: RPCClientError) => {
|
||||
console.log(error.response.message);
|
||||
}
|
||||
);
|
||||
|
||||
// this.probe$.subscribe(
|
||||
// (probe: Probe) => {
|
||||
// if (probe != null) {
|
||||
// this.probe = probe;
|
||||
// }
|
||||
// },
|
||||
// (error: RPCClientError) => {
|
||||
// console.log(error.response.message);
|
||||
// }
|
||||
// );
|
||||
this.probe$.subscribe(
|
||||
(probe: Probe) => {
|
||||
if (probe != null) {
|
||||
this.probe = probe;
|
||||
}
|
||||
},
|
||||
(error: RPCClientError) => {
|
||||
console.log(error.response.message);
|
||||
}
|
||||
);
|
||||
|
||||
// this.discoveryResult$.subscribe(
|
||||
// (zones: Map<string, Zone>) => {
|
||||
// console.log('ZoneZoneZoneZoneZoneZoneZone');
|
||||
// // console.log(JSON.stringify(zones));
|
||||
// this.treeNodes = this.convertTreeViewZone(zones);
|
||||
// this.zones = zones;
|
||||
// },
|
||||
// (error: RPCClientError) => {
|
||||
// console.log(error.response.message);
|
||||
// }
|
||||
// );
|
||||
this.discoveryResult$.subscribe(
|
||||
(zones: Map<string, Zone>) => {
|
||||
console.log('ZoneZoneZoneZoneZoneZoneZone');
|
||||
// console.log(JSON.stringify(zones));
|
||||
this.treeNodes = this.convertTreeViewZone(zones);
|
||||
this.zones = zones;
|
||||
},
|
||||
(error: RPCClientError) => {
|
||||
console.log(error.response.message);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user