mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
fix: update collection notifier to include parameter enablement
This commit is contained in:
@@ -283,7 +283,12 @@ class ChatViewmodel extends StateNotifier<ChatState> {
|
|||||||
.map(
|
.map(
|
||||||
(e) => NameValueModel(name: e.key, value: e.value.toString()))
|
(e) => NameValueModel(name: e.key, value: e.value.toString()))
|
||||||
.toList();
|
.toList();
|
||||||
collectionNotifier.update(params: params, id: requestId);
|
final enabled = List<bool>.filled(params.length, true);
|
||||||
|
collectionNotifier.update(
|
||||||
|
params: params,
|
||||||
|
isParamEnabledList: enabled,
|
||||||
|
id: requestId,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user