Merged PR 306: Detailseite Header Bestellkanal

Detailseite Header Bestellkanal

Related work items: #1041
This commit is contained in:
Lorenz Hilpert
2020-09-16 17:18:30 +00:00
committed by Sebastian Neumair

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) {