mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] store: properly call patch on connected components
A previous refactoring broke it by adding a [] arguments to updateprops.
This commit is contained in:
+1
-1
@@ -332,7 +332,7 @@ export class Component<
|
||||
async _updateProps(
|
||||
nextProps: Props,
|
||||
forceUpdate: boolean = false,
|
||||
patchQueue: any[]
|
||||
patchQueue?: any[]
|
||||
): Promise<void> {
|
||||
const shouldUpdate = forceUpdate || this.shouldUpdate(nextProps);
|
||||
if (shouldUpdate) {
|
||||
|
||||
Reference in New Issue
Block a user