fix(ui): clear exposedFields when resetting graph

This commit is contained in:
psychedelicious 2023-08-17 14:17:22 +10:00
parent 0909812c84
commit 5ae14bffba

View File

@ -528,6 +528,7 @@ const nodesSlice = createSlice({
nodeEditorReset: (state) => {
state.nodes = [];
state.edges = [];
state.workflow.exposedFields = [];
},
shouldValidateGraphChanged: (state, action: PayloadAction<boolean>) => {
state.shouldValidateGraph = action.payload;