aritra24 commented on code in PR #40391:
URL: https://github.com/apache/airflow/pull/40391#discussion_r1650376701


##########
airflow/www/views.py:
##########
@@ -4408,7 +4408,10 @@ def prefill_form(self, form, pk):
             if is_sensitive and field_name in extra_dictionary:
                 extra_dictionary[field_name] = SENSITIVE_FIELD_PLACEHOLDER
         # form.data is a property that builds the dictionary from fields so we 
have to modify the fields
-        form.extra.data = json.dumps(extra_dictionary)
+        if extra_dictionary.keys():

Review Comment:
   Ack, will make that change 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to