Project

General

Profile

« Previous | Next » 

Revision 59468

[Trunk | Admin]: Merging branch 'use-UoaAdminToolsLibrary' into trunk for revisions 58405:59467

View differences:

dashboard.component.ts
8 8
import {EnvProperties} from '../../openaireLibrary/utils/properties/env-properties';
9 9
import {HelperFunctions} from "../../openaireLibrary/utils/HelperFunctions.class";
10 10
import {Title} from '@angular/platform-browser';
11
import {ConnectHelper} from "../../openaireLibrary/connect/connectHelper";
11 12

  
12 13
@Component({
13 14
    selector: 'dashboard',
......
30 31
        this.route.queryParams.subscribe(data => {
31 32
          HelperFunctions.scroll();
32 33
          this.communityId = ((data['communityId']) ? data['communityId'] : data['community']);
34
          ConnectHelper.setPortalTypeFromPid(this.communityId);
35

  
33 36
          this._communityService.getCommunity(this.properties, this.properties.communityAPI + this.communityId).subscribe (
34 37
            community => {
35 38
                this.communityType = community.type;

Also available in: Unified diff