From fc45df270af35151027f231df4fd1d826d4b2bd2 Mon Sep 17 00:00:00 2001 From: Alexis Svinartchouk Date: Mon, 14 Dec 2020 18:52:08 +0100 Subject: [PATCH] Fix red leds not showing for failed devices Change-type: patch --- lib/gui/app/models/leds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/app/models/leds.ts b/lib/gui/app/models/leds.ts index 87e35469..a9aa7716 100644 --- a/lib/gui/app/models/leds.ts +++ b/lib/gui/app/models/leds.ts @@ -193,7 +193,7 @@ function stateObserver(state: typeof DEFAULT_STATE) { selectedDrivesPaths = s.devicePaths; } const failedDevicePaths = s.failedDeviceErrors.map( - ([devicePath]: [string]) => devicePath, + ([, { devicePath }]: [string, { devicePath: string }]) => devicePath, ); const newLedsState = { step,