ConnectHelper: add check for test community

This commit is contained in:
argirok 2022-07-21 16:07:51 +03:00
parent 8e09a2c68d
commit 5abb8b6384
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export class ConnectHelper {
if ( domain.indexOf('beta') !== -1) { if ( domain.indexOf('beta') !== -1) {
domain = domain.substr(domain.indexOf('.') + 1, domain.length); domain = domain.substr(domain.indexOf('.') + 1, domain.length);
domain = domain.substr(0, domain.indexOf('.')); 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; return null;
} else { } else {
domain = domain.substr(0, domain.indexOf('.')); domain = domain.substr(0, domain.indexOf('.'));