Project

General

Profile

« Previous | Next » 

Revision 51566

change route 'stats' to 'monitor'| change path for ConnectHelper- moved in library | add proper advanced search link in search pages of pub/data/soft

View differences:

communityWrapper.component.ts
2 2
import {Observable}                   from 'rxjs/Observable';
3 3
import {ActivatedRoute, Router}       from '@angular/router';
4 4

  
5
import {ConnectHelper} from '../utils/connectHelper';
5
import {ConnectHelper} from '..//openaireLibrary/connect/connectHelper';
6 6

  
7 7
@Component({
8 8
    selector: 'community-wrapper',
......
25 25
          communityId => {
26 26
                this.communityId = communityId['communityId'];
27 27
                 if(!this.communityId){
28
                  this.communityId  = ConnectHelper.getCommunityFromDomain(document.location.hostname);                    
28
                  this.communityId  = ConnectHelper.getCommunityFromDomain(document.location.hostname);
29 29
                 }
30 30
                 if(this.communityId){
31 31
                   this.dashboard = true;

Also available in: Unified diff