From 5afff65b71bb60d067392c120efff1a17adc66af Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 2 Nov 2022 20:33:19 +1100 Subject: [PATCH] Fixes progress images select --- frontend/src/features/system/SettingsModal/SettingsModal.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/features/system/SettingsModal/SettingsModal.tsx b/frontend/src/features/system/SettingsModal/SettingsModal.tsx index 631d857a74..66e12af104 100644 --- a/frontend/src/features/system/SettingsModal/SettingsModal.tsx +++ b/frontend/src/features/system/SettingsModal/SettingsModal.tsx @@ -20,6 +20,7 @@ import { persistor } from '../../../main'; import { setShouldConfirmOnDelete, setShouldDisplayGuides, + setShouldDisplayInProgressType, SystemState, } from '../systemSlice'; import ModelList from './ModelList'; @@ -112,6 +113,9 @@ const SettingsModal = ({ children }: SettingsModalProps) => { label={'Display In-Progress Images'} validValues={IN_PROGRESS_IMAGE_TYPES} value={shouldDisplayInProgressType} + onChange={(e: ChangeEvent) => + dispatch(setShouldDisplayInProgressType(e.target.value)) + } />