From 58cba46b983fd4eb9705a513f4042020b95d3bf9 Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Tue, 22 Oct 2024 19:31:11 +0200 Subject: [PATCH] [Fix kbss-cvut/fta-fmea-ui#639] Properly set probability in update request from manual failure rate field form field --- .../editor/faultTree/menu/faultEvent/FaultEventMenu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/editor/faultTree/menu/faultEvent/FaultEventMenu.tsx b/src/components/editor/faultTree/menu/faultEvent/FaultEventMenu.tsx index 95ecbc27..8800ba7d 100644 --- a/src/components/editor/faultTree/menu/faultEvent/FaultEventMenu.tsx +++ b/src/components/editor/faultTree/menu/faultEvent/FaultEventMenu.tsx @@ -126,6 +126,7 @@ const FaultEventMenu = ({ const manualFailureRates = { [EventType.BASIC]: basicManuallyDefinedFailureRate, + [EventType.EXTERNAL]: externalManuallyDefinedFailureRate, default: externalManuallyDefinedFailureRate, };