| Conditions | 2 |
| Total Lines | 5 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import type { ComponentSectionEntry } from 'src/app/state/extension-component-sections.store'; |
||
| 34 | |||
| 35 | getActiveTab(componentSection: ComponentSectionEntry) { |
||
| 36 | return this.activeTabName |
||
| 37 | ? componentSection.props.tabs.find(tab => tab.name === this.activeTabName) |
||
| 38 | : componentSection.props.tabs[0]; |
||
| 39 | }, |
||
| 55 |