Commit a58ec061 authored by LAVENIER's avatar LAVENIER
Browse files

Release v0.13.2

[fix] Editor: Revert changes on ngOnInit
parent 0ac23b54
{
"name": "@sumaris-net/ngx-components",
"description": "SUMARiS Angular components",
"version": "0.13.1",
"version": "0.13.2",
"author": "contact@e-is.pro",
"license": "AGPL-3.0",
"readmeFilename": "README.md",
......
......@@ -159,9 +159,7 @@ export abstract class AppTabEditor<T = any, ID = number, O = any> implements IAp
setTimeout(() => this.tabGroup.realignInkBar(), 500);
}));
}
}
ngAfterViewInit() {
// Catch back click events
if (this.toolbar) {
this.registerSubscription(this.toolbar.onBackClick.subscribe(event => this.onBackClick(event)));
......@@ -171,6 +169,10 @@ export abstract class AppTabEditor<T = any, ID = number, O = any> implements IAp
}
}
ngAfterViewInit() {
// Can be override by subclasses
}
ngOnDestroy() {
this._subscription.unsubscribe();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment