fix(ui): denoise percentage

This commit is contained in:
psychedelicious 2024-04-01 18:21:15 +11:00
parent 7da283f433
commit 35ef02bdf7

View File

@ -107,12 +107,12 @@ export const systemSlice = createSlice({
* Generator Progress
*/
builder.addCase(socketGeneratorProgress, (state, action) => {
const { step, total_steps, progress_image, session_id, batch_id } = action.payload.data;
const { step, total_steps, progress_image, session_id, batch_id, percentage } = action.payload.data;
state.denoiseProgress = {
step,
total_steps,
percentage: step / total_steps,
percentage,
progress_image,
session_id,
batch_id,