Skip to content

Commit 0e0a346

Browse files
committed
Merge branch 'master' of https://github.com/joernio/ui into release
2 parents ac5b6ce + 450e6f6 commit 0e0a346

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/views/WindowWrapper.jsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)