From 0a25bf0a32977b60dce2519e8f80256eabde06d4 Mon Sep 17 00:00:00 2001 From: kurilova Date: Thu, 4 Apr 2024 11:25:05 +0000 Subject: [PATCH] Disable device item if device in progress --- .../device-item/device-item.component.html | 2 ++ .../device-item/device-item.component.scss | 9 ++++++ .../device-item/device-item.component.spec.ts | 22 +++++++++++++ .../device-item/device-item.component.ts | 1 + .../devices/device-repository.component.html | 5 ++- .../device-repository.component.spec.ts | 9 ++++++ .../app/pages/devices/devices.store.spec.ts | 7 +++- .../ui/src/app/pages/devices/devices.store.ts | 8 ++++- .../src/app/services/test-run.service.spec.ts | 7 +++- .../ui/src/app/services/test-run.service.ts | 7 +++- modules/ui/src/app/store/actions.ts | 5 +++ modules/ui/src/app/store/effects.spec.ts | 13 ++++++++ modules/ui/src/app/store/effects.ts | 17 ++++++++++ modules/ui/src/app/store/reducers.spec.ts | 32 +++++++++++++++++++ modules/ui/src/app/store/reducers.ts | 6 ++++ modules/ui/src/app/store/selectors.spec.ts | 7 ++++ modules/ui/src/app/store/selectors.ts | 5 +++ modules/ui/src/app/store/state.ts | 2 ++ 18 files changed, 159 insertions(+), 5 deletions(-) diff --git a/modules/ui/src/app/components/device-item/device-item.component.html b/modules/ui/src/app/components/device-item/device-item.component.html index 84117dd34..c2d69f7cc 100644 --- a/modules/ui/src/app/components/device-item/device-item.component.html +++ b/modules/ui/src/app/components/device-item/device-item.component.html @@ -36,6 +36,7 @@ *ngIf="deviceView === DeviceView.WithActions" class="device-item-with-actions">