From 9c76683c854b2380b08e1e3c228c2baa614e3f49 Mon Sep 17 00:00:00 2001 From: Udhay-Adithya Date: Tue, 16 Sep 2025 01:41:39 +0530 Subject: [PATCH] fix: update collection notifier to include parameter enablement --- lib/dashbot/features/chat/viewmodel/chat_viewmodel.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/dashbot/features/chat/viewmodel/chat_viewmodel.dart b/lib/dashbot/features/chat/viewmodel/chat_viewmodel.dart index 3f5ce3ad..eaad1b2d 100644 --- a/lib/dashbot/features/chat/viewmodel/chat_viewmodel.dart +++ b/lib/dashbot/features/chat/viewmodel/chat_viewmodel.dart @@ -283,7 +283,12 @@ class ChatViewmodel extends StateNotifier { .map( (e) => NameValueModel(name: e.key, value: e.value.toString())) .toList(); - collectionNotifier.update(params: params, id: requestId); + final enabled = List.filled(params.length, true); + collectionNotifier.update( + params: params, + isParamEnabledList: enabled, + id: requestId, + ); } break; }