mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
connect deferred
This commit is contained in:
@@ -148,7 +148,7 @@ export class Widget<T extends WEnv, Props> {
|
|||||||
async updateState(nextState: Object) {
|
async updateState(nextState: Object) {
|
||||||
Object.assign(this.state, nextState);
|
Object.assign(this.state, nextState);
|
||||||
if (this.__widget__.isStarted) {
|
if (this.__widget__.isStarted) {
|
||||||
await this.render();
|
return this.render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user