diff --git a/frontend/src/features/options/store/optionsSlice.ts b/frontend/src/features/options/store/optionsSlice.ts index b7a88b90e5..719544ecc5 100644 --- a/frontend/src/features/options/store/optionsSlice.ts +++ b/frontend/src/features/options/store/optionsSlice.ts @@ -197,6 +197,8 @@ export const optionsSlice = createSlice({ }, setSeedWeights: (state, action: PayloadAction) => { state.seedWeights = action.payload; + state.shouldGenerateVariations = true; + state.variationAmount = 0; }, setAllTextToImageParameters: ( state, @@ -220,6 +222,7 @@ export const optionsSlice = createSlice({ if (variations && variations.length > 0) { state.seedWeights = seedWeightsToString(variations); state.shouldGenerateVariations = true; + state.variationAmount = 0; } else { state.shouldGenerateVariations = false; }