ConnectHelper: add check for test community
This commit is contained in:
parent
8e09a2c68d
commit
5abb8b6384
|
@ -18,7 +18,7 @@ export class ConnectHelper {
|
|||
if ( domain.indexOf('beta') !== -1) {
|
||||
domain = domain.substr(domain.indexOf('.') + 1, domain.length);
|
||||
domain = domain.substr(0, domain.indexOf('.'));
|
||||
} else if (domain.indexOf('test.') !== -1) {
|
||||
} else if (domain.indexOf('test.') !== -1 && !(properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community")) {
|
||||
return null;
|
||||
} else {
|
||||
domain = domain.substr(0, domain.indexOf('.'));
|
||||
|
|
Loading…
Reference in New Issue