[Trunk | Library]: connectHelper.ts: in method 'getCommunityFromDomain()', also return null when domain is 'admin'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56379 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
9f9c2289e3
commit
39b63dca2b
|
@ -15,7 +15,7 @@ export class ConnectHelper {
|
|||
} else {
|
||||
domain = domain.substr(0, domain.indexOf('.'));
|
||||
}
|
||||
if (domain === 'connect' || domain === 'explore' || domain === 'monitor'){
|
||||
if (domain === 'connect' || domain === 'explore' || domain === 'monitor' || domain === 'admin'){
|
||||
return null;
|
||||
}
|
||||
return domain;
|
||||
|
|
Loading…
Reference in New Issue