diff --git a/gui/src/state.ts b/gui/src/state.ts index 46c89ac7..220aac68 100644 --- a/gui/src/state.ts +++ b/gui/src/state.ts @@ -193,7 +193,7 @@ export function createStateSlices(base: ServerParams) { history: [ image, ...prev.history, - ], + ].slice(0, prev.limit), loading: null, })); },