fix(gui): remove images from history beyond limit (#267)
This commit is contained in:
parent
3198e68abb
commit
ba0767179c
|
@ -318,7 +318,7 @@ export function createStateSlices(server: ServerParams) {
|
||||||
retry,
|
retry,
|
||||||
},
|
},
|
||||||
...prev.history,
|
...prev.history,
|
||||||
],
|
].slice(0, prev.limit + DEFAULT_HISTORY.scrollback),
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
removeHistory(image) {
|
removeHistory(image) {
|
||||||
|
|
Loading…
Reference in New Issue