From b94a55944c1acb7a589df80f125a7260f52ee9c0 Mon Sep 17 00:00:00 2001 From: Maksym Dudnik Date: Fri, 28 Jul 2023 16:20:01 +0300 Subject: [PATCH] hotfix --- .../components/widget/lib/gateway/gateway-logs.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts index df83c11367..c4fb8a3534 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts @@ -165,7 +165,7 @@ export class GatewayLogsComponent extends PageComponent implements AfterViewInit updateData(sort?) { - if (this.ctx.defaultSubscription.data.length) { + if (this.ctx.defaultSubscription.data.length && this.ctx.defaultSubscription.data[0]) { let attrData = this.ctx.defaultSubscription.data[0].data.map(data => { let result = { ts: data[0],