diff --git a/apps/sales/src/app/modules/shelf/pipes/environment-channel.pipe.ts b/apps/sales/src/app/modules/shelf/pipes/environment-channel.pipe.ts index 688fc16a1..5709270f8 100644 --- a/apps/sales/src/app/modules/shelf/pipes/environment-channel.pipe.ts +++ b/apps/sales/src/app/modules/shelf/pipes/environment-channel.pipe.ts @@ -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) {