From c40faa87c751d210d4cf7e5f2f4ef90c8f517e64 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 7 Jun 2021 11:02:26 +0300 Subject: [PATCH] UI: Add disable button Download package in ota-update.component --- .../home/pages/ota-update/ota-update-table-config.resolve.ts | 2 +- .../app/modules/home/pages/ota-update/ota-update.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/ota-update/ota-update-table-config.resolve.ts b/ui-ngx/src/app/modules/home/pages/ota-update/ota-update-table-config.resolve.ts index 19b84cef15..dcff8b7964 100644 --- a/ui-ngx/src/app/modules/home/pages/ota-update/ota-update-table-config.resolve.ts +++ b/ui-ngx/src/app/modules/home/pages/ota-update/ota-update-table-config.resolve.ts @@ -102,7 +102,7 @@ export class OtaUpdateTableConfigResolve implements Resolve otaPackage.hasData, + isEnabled: (otaPackage) => otaPackage.hasData && !otaPackage.url, onAction: ($event, entity) => this.exportPackage($event, entity) } ); diff --git a/ui-ngx/src/app/modules/home/pages/ota-update/ota-update.component.html b/ui-ngx/src/app/modules/home/pages/ota-update/ota-update.component.html index bde274c28f..0f2662a251 100644 --- a/ui-ngx/src/app/modules/home/pages/ota-update/ota-update.component.html +++ b/ui-ngx/src/app/modules/home/pages/ota-update/ota-update.component.html @@ -17,7 +17,7 @@ -->