Skip to content
Snippets Groups Projects
Commit 6158e460 authored by Tuukka Turu's avatar Tuukka Turu
Browse files

Fix tabs issue with hy-box

parent 5092fc12
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,8 @@ export class HyTabs implements ComponentInterface {
}
}
const tabContainer = this.el.children[0];
const tabContainer = this.el.querySelector('.hy-tabs__container') as any;
if (tabContainer) {
this.generateArrays(tabContainer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment