mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 05:02:41 +00:00
Fix components not rebuilding content on theme change
This commit is contained in:
parent
36fbce85c2
commit
45a6c394ca
7 changed files with 39 additions and 0 deletions
|
|
@ -36,6 +36,11 @@ export class CustomMessageComponent extends Container {
|
|||
}
|
||||
}
|
||||
|
||||
override invalidate(): void {
|
||||
super.invalidate();
|
||||
this.rebuild();
|
||||
}
|
||||
|
||||
private rebuild(): void {
|
||||
// Remove previous content component
|
||||
if (this.customComponent) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue