Detailseite Header Bestellkanal

This commit is contained in:
Lorenz Hilpert
2020-09-16 18:37:05 +02:00
parent c241545bd1
commit 3ea3f54286

View File

@@ -13,8 +13,11 @@ export class EnvironmentChannelPipe implements PipeTransform {
]);
transform(clientChannel: EnvironmentChannel = 0, join: string = ' '): any {
const channels: string[] = [];
if (clientChannel === 0) {
return this.channels.get(0);
}
const channels: string[] = [];
this.channels.forEach((value, key) => {
// tslint:disable-next-line: no-bitwise
if ((clientChannel | key) === key) {