fix(gui): prevent client image history from accumulating indefinitely
This commit is contained in:
parent
50fe17bce1
commit
df7bba47dd
|
@ -193,7 +193,7 @@ export function createStateSlices(base: ServerParams) {
|
||||||
history: [
|
history: [
|
||||||
image,
|
image,
|
||||||
...prev.history,
|
...prev.history,
|
||||||
],
|
].slice(0, prev.limit),
|
||||||
loading: null,
|
loading: null,
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue