Commit 63c22231 authored by prumde's avatar prumde

Updated

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175160 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 695bc581
......@@ -11,7 +11,7 @@ import { EcmPanelComponent } from '../ecm-view/ecm-panel/ecm-panel.component';
import { ScrollService } from '../scroll.service';
import 'rxjs/add/operator/filter';
import { HostUrlService } from '../host-url.service';
import { HostUrlService, getAssetURL } from '../host-url.service';
//declare var initSearch: any;
declare var disableScroll: any;
......@@ -96,8 +96,12 @@ export class ECMHeaderComponent implements OnInit, OnDestroy {
profileImageLink : string;
clientWidth: any;
hostUrl;
constructor(public hostUrlService : HostUrlService, @Inject( DOCUMENT ) private document: Document, private route: ActivatedRoute, private router: Router, private scroll_service: ScrollService, private store: Store<AppState>) {
assetsUrl: string;
constructor(public hostUrlService : HostUrlService, @Inject( DOCUMENT ) private document: Document, private route: ActivatedRoute, private router: Router, private scroll_service: ScrollService, private store: Store<AppState>)
{
this.hostUrl=this.hostUrlService.hostUrl;
this.assetsUrl = getAssetURL();
}
ngOnInit() {
......
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