File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
src/components/NavigationTree/__stories__ Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,18 @@ async function fetchPath(path: string) {
72
72
{
73
73
name : 'table_1' ,
74
74
type : 'table' ,
75
+ expandable : true ,
75
76
} ,
76
77
{
77
78
name : 'table_2' ,
78
- type : 'table ' ,
79
+ type : 'column_table ' ,
79
80
} ,
80
81
{
81
82
name : 'table_3' ,
83
+ type : 'topic' ,
84
+ } ,
85
+ {
86
+ name : 'table_4' ,
82
87
type : 'table' ,
83
88
} ,
84
89
] ;
@@ -96,7 +101,7 @@ async function fetchPath(path: string) {
96
101
items = [
97
102
{
98
103
name : 'table_3_1' ,
99
- type : 'table ' ,
104
+ type : 'index ' ,
100
105
} ,
101
106
{
102
107
name : 'table_3_2' ,
@@ -109,6 +114,25 @@ async function fetchPath(path: string) {
109
114
] ;
110
115
}
111
116
117
+ if ( path === '/table_1' ) {
118
+ items = [
119
+ {
120
+ name : 'table_1_index' ,
121
+ type : 'index' ,
122
+ expandable : true ,
123
+ } ,
124
+ ] ;
125
+ }
126
+
127
+ if ( path === '/table_1/table_1_index' ) {
128
+ items = [
129
+ {
130
+ name : 'table_1_index_impl' ,
131
+ type : 'index_table' ,
132
+ } ,
133
+ ] ;
134
+ }
135
+
112
136
return items ;
113
137
}
114
138
You can’t perform that action at this time.
0 commit comments