mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54:08 +03:00
tabs syntax fix
This commit is contained in:
parent
6b4c7e44e3
commit
4a3d44a9a8
|
@ -29,7 +29,7 @@ export class Tabs {
|
|||
tab.active = true;
|
||||
}
|
||||
|
||||
addTab(tab: Tab) {
|
||||
addTab(tab) {
|
||||
if (this.tabs.length === 0) {
|
||||
tab.active = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user