Merge pull request #3821 from crazyserver/MOBILE-4362
MOBILE-4362 collapsible: Do not collapse headers if inside a tab outletmain
commit
2019283bd1
|
@ -106,6 +106,11 @@ export class CoreCollapsibleHeaderDirective implements OnInit, OnChanges, OnDest
|
||||||
*/
|
*/
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.collapsible = !CoreUtils.isFalseOrZero(this.collapsible);
|
this.collapsible = !CoreUtils.isFalseOrZero(this.collapsible);
|
||||||
|
|
||||||
|
if (CoreDom.closest(this.collapsedHeader, 'core-tabs-outlet')) {
|
||||||
|
this.collapsible = false;
|
||||||
|
}
|
||||||
|
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue