Skip to content

Commit 437a822

Browse files
authored
Default to config tab (#1292)
1 parent 4f0bfba commit 437a822

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lumen/ai/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def __init__(self, **params):
315315
)
316316
self._main.insert(1, ('Config', pn.Column(controls, run_button)))
317317
with discard_events(self):
318-
self._main.active = 0 if self.analysis.autorun else 1
318+
self._main.active = 1 if len(self._main) > 1 else 0
319319
self._rendered = True
320320

321321
async def _rerun(self, event):

0 commit comments

Comments
 (0)