Project

General

Profile

« Previous | Next » 

Revision 60187

[Library | Trunk]: Change b2note button position and change condition if b2note url propert exists

View differences:

connectHelper.ts
4 4
export class ConnectHelper {
5 5

  
6 6
  public static  getCommunityFromDomain(domain: string): string{
7
    //domain = "beta.covid-19.openaire.eu"; //for testing
7
    domain = "beta.covid-19.openaire.eu"; //for testing
8 8
    domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
9 9
    if (domain.indexOf('openaire.eu') === -1) {
10 10
      return null;

Also available in: Unified diff