Skip to content

Commit dd28b92

Browse files
committed
fix: load the jsoneditor extension so the Arrange dialog renders
The report's JSONEditor has its own JS bundle; the app only loaded the agents' extensions plus filedropper, so a dynamically built report could not render the editor. Add jsoneditor to the loaded extensions.
1 parent 062dea2 commit dd28b92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lumen/ai/ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ def __panel__(self):
17661766
def _create_view(self, server: bool = False):
17671767
if server:
17681768
panel_extension(
1769-
*{ext for agent in self._coordinator.agents for ext in agent._extensions} | {"filedropper"},
1769+
*{ext for agent in self._coordinator.agents for ext in agent._extensions} | {"filedropper", "jsoneditor"},
17701770
css_files=["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"]
17711771
)
17721772
return self._page

0 commit comments

Comments
 (0)