#1577 WA Bugfix Update EnvirnomentChannel for Online, App and Mobile Channels

This commit is contained in:
Nino Righi
2021-04-13 13:10:18 +02:00
parent 2309e99d64
commit cbed1e25cb

View File

@@ -17,6 +17,11 @@ export class EnvironmentChannelPipe implements PipeTransform {
return this.channels.get(0);
}
const channelOnlineMobileApp: number = clientChannel;
if (channelOnlineMobileApp === 8 || channelOnlineMobileApp === 16 || channelOnlineMobileApp === 24) {
return 'hugendubel.de';
}
const channels: string[] = [];
this.channels.forEach((value, key) => {
// tslint:disable-next-line: no-bitwise
@@ -24,7 +29,6 @@ export class EnvironmentChannelPipe implements PipeTransform {
channels.push(value);
}
});
return channels.join(join);
}
}