mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): clear exposedFields when resetting graph
This commit is contained in:
parent
0909812c84
commit
5ae14bffba
@ -528,6 +528,7 @@ const nodesSlice = createSlice({
|
|||||||
nodeEditorReset: (state) => {
|
nodeEditorReset: (state) => {
|
||||||
state.nodes = [];
|
state.nodes = [];
|
||||||
state.edges = [];
|
state.edges = [];
|
||||||
|
state.workflow.exposedFields = [];
|
||||||
},
|
},
|
||||||
shouldValidateGraphChanged: (state, action: PayloadAction<boolean>) => {
|
shouldValidateGraphChanged: (state, action: PayloadAction<boolean>) => {
|
||||||
state.shouldValidateGraph = action.payload;
|
state.shouldValidateGraph = action.payload;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user