Don't show evaluation side panel when context exists but is empty

This commit is contained in:
Andrew Kingston 2024-03-26 16:05:19 +00:00
parent cdac78899a
commit d14cfbb0ab
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@
if (bindings?.length) {
options.push(SidePanels.Bindings)
}
if (context) {
if (context && Object.keys(context).length > 0) {
options.push(SidePanels.Evaluation)
}
if (useSnippets && mode === Modes.JavaScript) {