File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ export const mainSlice = createSlice({
59
59
tabs [ currentTab ] . hierarchy . children = [ ] ;
60
60
tabs [ currentTab ] . snapshots = [ lastSnapshot ] ;
61
61
62
- tabs [ currentTab ] . currLocation = tabs [ currentTab ] . hiearchy ;
62
+ //there is a typo here
63
+ tabs [ currentTab ] . currLocation = tabs [ currentTab ] . hierarchy ;
64
+ console . log ( 'tabsHieracyh' , tabs [ currentTab ] . hierarchy ) ;
63
65
tabs [ currentTab ] . index = 1 ;
64
66
tabs [ currentTab ] . currParent = 0 ;
65
67
tabs [ currentTab ] . currBranch = 1 ;
@@ -472,6 +474,7 @@ export const mainSlice = createSlice({
472
474
tabs [ currentTab ] = { ...tabs [ currentTab ] , seriesSavedStatus : 'saved' } ;
473
475
}
474
476
} ,
477
+
475
478
toggleExpanded : ( state , action ) => {
476
479
const { tabs, currentTab } = state ;
477
480
// find correct node from currLocation and toggle isExpanded
You can’t perform that action at this time.
0 commit comments