mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
small cleanup
This commit is contained in:
@@ -16,8 +16,10 @@ export class Action extends Widget<Env, Props> {
|
||||
}
|
||||
|
||||
shouldUpdate(nextProps: Props) {
|
||||
this.props = nextProps;
|
||||
this.setContentWidget();
|
||||
if (nextProps.stack !== this.props.stack) {
|
||||
this.props = nextProps;
|
||||
this.setContentWidget();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user