Restore nav state hydration

zio/stable
Paul Frazee 2022-11-14 16:28:58 -06:00
parent a6e2429a13
commit 700d4e99b9
1 changed files with 0 additions and 3 deletions

View File

@ -236,9 +236,6 @@ export class NavigationModel {
} }
hydrate(v: unknown) { hydrate(v: unknown) {
// this.tabs.length = 0
// this.tabIndex = 0
return // DEBUG
if (isObj(v)) { if (isObj(v)) {
if (hasProp(v, 'tabs') && Array.isArray(v.tabs)) { if (hasProp(v, 'tabs') && Array.isArray(v.tabs)) {
for (const tab of v.tabs) { for (const tab of v.tabs) {