We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b64d4 commit 35a79edCopy full SHA for 35a79ed
1 file changed
src/frontend/wwwroot/task/task.js
@@ -223,6 +223,14 @@
223
const taskMessageAddButton = document.getElementById("taskMessageAddButton");
224
const textInputContainer = document.getElementsByClassName("text-input-container");
225
226
+ if (isHumanClarificationResponseNotNull) {
227
+ // Update the local state to set human_clarification_request to null
228
+ data[0].human_clarification_request = null;
229
+ console.log("Human clarification request set to null locally.");
230
+ }
231
+
232
+ const isHumanClarificationRequestNull = data?.[0]?.human_clarification_request === null
233
234
if(isHumanClarificationRequestNull && taskMessageTextareaElement){
235
taskMessageTextareaElement.setAttribute('disabled', true)
236
taskMessageTextareaElement.style.backgroundColor = "#efefef";
0 commit comments