mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): move progress denylist to persistconfig
This commit is contained in:
@@ -90,15 +90,6 @@ export const initialProgressState: ProgressState = {
|
||||
latestDenoiseProgress: null,
|
||||
};
|
||||
|
||||
export const progressPersistDenylist: (keyof ProgressState)[] = [
|
||||
'canvasDenoiseProgress',
|
||||
'canvasLatestImageData',
|
||||
'linearDenoiseProgress',
|
||||
'linearLatestImageData',
|
||||
'workflowDenoiseProgress',
|
||||
'workflowLatestImageData',
|
||||
];
|
||||
|
||||
export const progressSlice = createSlice({
|
||||
name: 'progress',
|
||||
initialState: initialProgressState,
|
||||
@@ -277,5 +268,14 @@ export const progressPersistConfig: PersistConfig<ProgressState> = {
|
||||
name: progressSlice.name,
|
||||
initialState: initialProgressState,
|
||||
migrate: migrateProgressState,
|
||||
persistDenylist: progressPersistDenylist,
|
||||
persistDenylist: [
|
||||
'latestDenoiseProgress',
|
||||
'canvasDenoiseProgress',
|
||||
'canvasLatestImageData',
|
||||
'linearDenoiseProgress',
|
||||
'linearLatestImageData',
|
||||
'workflowDenoiseProgress',
|
||||
'workflowLatestImageData',
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user