Don't show evaluation side panel when context exists but is empty
This commit is contained in:
parent
cdac78899a
commit
d14cfbb0ab
|
@ -131,7 +131,7 @@
|
||||||
if (bindings?.length) {
|
if (bindings?.length) {
|
||||||
options.push(SidePanels.Bindings)
|
options.push(SidePanels.Bindings)
|
||||||
}
|
}
|
||||||
if (context) {
|
if (context && Object.keys(context).length > 0) {
|
||||||
options.push(SidePanels.Evaluation)
|
options.push(SidePanels.Evaluation)
|
||||||
}
|
}
|
||||||
if (useSnippets && mode === Modes.JavaScript) {
|
if (useSnippets && mode === Modes.JavaScript) {
|
||||||
|
|
Loading…
Reference in New Issue