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,
|
||||
},
|
||||
...prev.history,
|
||||
],
|
||||
].slice(0, prev.limit + DEFAULT_HISTORY.scrollback),
|
||||
}));
|
||||
},
|
||||
removeHistory(image) {
|
||||
|
|
Loading…
Reference in New Issue