fix issue with subwidgets not being mounted/unmounted

This commit is contained in:
Géry Debongnie
2019-01-31 15:14:26 +01:00
parent ed35e0d8e4
commit 7e90aec028
6 changed files with 36 additions and 37 deletions
-4
View File
@@ -11,10 +11,6 @@ export class Action extends Widget<Env, Props> {
template = `<div class="o_content"/>`;
currentWidget: any;
mounted() {
this.setContentWidget();
}
shouldUpdate(nextProps: Props) {
if (nextProps.stack !== this.props.stack) {
this.props = nextProps;