Skip to content

Commit

Permalink
Fix automatic collapse from sidepanel when camera activated
Browse files Browse the repository at this point in the history
  • Loading branch information
Odrec committed May 31, 2024
1 parent 30eb176 commit 1677dc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chatbot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ def _get_rid_of_submit_text():
def _close_sidepanel_callback():
if session_state['activate_camera']:
session_state['sidebar_state'] = "collapsed"
else:
session_state['sidebar_state'] = "expanded"

def _show_images_controls(self):
"""
Expand Down

0 comments on commit 1677dc9

Please sign in to comment.