feat(ui): add controlNetDenylist

This commit is contained in:
psychedelicious 2023-06-03 21:00:57 +10:00
parent 5dc0250b00
commit 474fca8e6a
2 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import { canvasPersistDenylist } from 'features/canvas/store/canvasPersistDenylist';
import { controlNetDenylist } from 'features/controlNet/store/controlNetDenylist';
import { galleryPersistDenylist } from 'features/gallery/store/galleryPersistDenylist';
import { lightboxPersistDenylist } from 'features/lightbox/store/lightboxPersistDenylist';
import { nodesPersistDenylist } from 'features/nodes/store/nodesPersistDenylist';
@ -23,6 +24,7 @@ const serializationDenylist: {
system: systemPersistDenylist,
// config: configPersistDenyList,
ui: uiPersistDenylist,
controlNet: controlNetDenylist,
// hotkeys: hotkeysPersistDenylist,
};

View File

@ -0,0 +1,8 @@
import { ControlNetState } from './controlNetSlice';
/**
* ControlNet slice persist denylist
*/
export const controlNetDenylist: (keyof ControlNetState)[] = [
'isProcessingControlImage',
];