Automatically return to activity chooser when activity completes
- Added activity_status emit with active: false when activity ends - Now matches behavior of activity cancellation - Users will automatically see activity chooser when activity finishes
This commit is contained in:
parent
f3d4dd89bc
commit
1808c915e1
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -1646,6 +1646,8 @@ def loop_through_steps_until_question(
|
|||
},
|
||||
room=room_name,
|
||||
)
|
||||
# Return to activity chooser
|
||||
socketio.emit("activity_status", {"active": False}, room=room_name)
|
||||
break
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue