Update existing tool components when toggling show-images setting

This commit is contained in:
Mario Zechner 2025-12-13 23:15:56 +01:00
parent d4b2b4be04
commit 53794d78f2
2 changed files with 13 additions and 0 deletions

View file

@ -80,6 +80,11 @@ export class ToolExecutionComponent extends Container {
this.updateDisplay();
}
setShowImages(show: boolean): void {
this.showImages = show;
this.updateDisplay();
}
private updateDisplay(): void {
const bgFn = this.result
? this.result.isError