mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] component: prevent rendering if not mounted
This commit is contained in:
+1
-1
@@ -238,7 +238,7 @@ export class Component<
|
||||
}
|
||||
|
||||
async render(force: boolean = false, patchQueue?: any[]): Promise<void> {
|
||||
if (this.__owl__.isDestroyed) {
|
||||
if (!this.__owl__.isMounted) {
|
||||
return;
|
||||
}
|
||||
const shouldCallPatchHooks: boolean = !patchQueue;
|
||||
|
||||
Reference in New Issue
Block a user