mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Add the ability to deselect a task
This commit is contained in:
@@ -46,6 +46,7 @@ class _TaskViewState extends State<TaskView> {
|
||||
final chatViewModel =
|
||||
Provider.of<ChatViewModel>(context, listen: false);
|
||||
chatViewModel.clearCurrentTaskAndChats();
|
||||
widget.viewModel.deselectTask();
|
||||
print(
|
||||
'New Task button pressed, cleared current task ID and chats');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user