File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -107,23 +107,26 @@ function WindowWrapper(props) {
107107 < MenuItem
108108 className = { classes . menuItemStyle }
109109 onClick = { async ( ) =>
110- addToQueue ( await contructQueryWithPath ( 'select-dir' ) , props )
110+ addToQueue (
111+ await contructQueryWithPath ( 'importCode' , 'select-dir' ) ,
112+ props ,
113+ )
111114 }
112115 icon = "import"
113116 text = "Import Directory"
114117 > </ MenuItem >
115118 < MenuItem
116119 className = { classes . menuItemStyle }
117120 onClick = { async ( ) =>
118- addToQueue ( await contructQueryWithPath ( ) , props )
121+ addToQueue ( await contructQueryWithPath ( 'importCode' ) , props )
119122 }
120123 icon = "import"
121124 text = "Import File"
122125 > </ MenuItem >
123126 < MenuItem
124127 className = { classes . menuItemStyle }
125128 onClick = { async ( ) =>
126- addToQueue ( await contructQueryWithPath ( ) , props )
129+ addToQueue ( await contructQueryWithPath ( 'importCpg' ) , props )
127130 }
128131 icon = "import"
129132 text = "Import Cpg"
You can’t perform that action at this time.
0 commit comments