Replace mock-api with real api
This commit is contained in:
parent
5193a5b48e
commit
aabde2b401
110 changed files with 16045 additions and 3742 deletions
|
@ -231,8 +231,9 @@ export class NavigationModel {
|
|||
}
|
||||
|
||||
hydrate(v: unknown) {
|
||||
this.tabs.length = 0
|
||||
this.tabIndex = 0
|
||||
// this.tabs.length = 0
|
||||
// this.tabIndex = 0
|
||||
return // DEBUG
|
||||
if (isObj(v)) {
|
||||
if (hasProp(v, 'tabs') && Array.isArray(v.tabs)) {
|
||||
for (const tab of v.tabs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue