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