mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes display progress images select typing
This commit is contained in:
parent
0fda612f3f
commit
ccf8593501
@ -18,6 +18,7 @@ import { ChangeEvent, cloneElement, ReactElement } from 'react';
|
|||||||
import { RootState, useAppDispatch, useAppSelector } from '../../../app/store';
|
import { RootState, useAppDispatch, useAppSelector } from '../../../app/store';
|
||||||
import { persistor } from '../../../main';
|
import { persistor } from '../../../main';
|
||||||
import {
|
import {
|
||||||
|
InProgressImageType,
|
||||||
setShouldConfirmOnDelete,
|
setShouldConfirmOnDelete,
|
||||||
setShouldDisplayGuides,
|
setShouldDisplayGuides,
|
||||||
setShouldDisplayInProgressType,
|
setShouldDisplayInProgressType,
|
||||||
@ -114,7 +115,11 @@ const SettingsModal = ({ children }: SettingsModalProps) => {
|
|||||||
validValues={IN_PROGRESS_IMAGE_TYPES}
|
validValues={IN_PROGRESS_IMAGE_TYPES}
|
||||||
value={shouldDisplayInProgressType}
|
value={shouldDisplayInProgressType}
|
||||||
onChange={(e: ChangeEvent<HTMLSelectElement>) =>
|
onChange={(e: ChangeEvent<HTMLSelectElement>) =>
|
||||||
dispatch(setShouldDisplayInProgressType(e.target.value))
|
dispatch(
|
||||||
|
setShouldDisplayInProgressType(
|
||||||
|
e.target.value as InProgressImageType
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user