1
0
Fork 0

fix(gui): remove images from history beyond limit (#267)

This commit is contained in:
Sean Sube 2023-03-19 17:46:04 -05:00
parent 3198e68abb
commit ba0767179c
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -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) {