Commit 2c825692 authored by prumde's avatar prumde

Updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174401 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f47c748d
......@@ -56,22 +56,16 @@ export class ECMSearchComponent implements OnInit {
});
}
ngAfterViewChecked() {
if(this.search_key)
ngAfterViewInit() {
console.log( 'ECMSearchComponent ngAfterViewInit .....');
if(this.search_key && this.searchBar)
this.searchBar.nativeElement.value=this.search_key;
this.storeUserLocation = this.store.select('location');
this.storeUserLocation.subscribe( userLocation => {
//console.log( 'ngAfterViewChecked >' + userLocation );
this.userLocation = userLocation;
});
}
ngAfterViewInit() {
if(this.search_key && this.searchBar)
this.searchBar.nativeElement.value=this.search_key;
}
loacteMe() {
this.locationService.getGeoLocation();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment