dheerajturaga commented on code in PR #54163:
URL: https://github.com/apache/airflow/pull/54163#discussion_r2257688850


##########
airflow-core/src/airflow/ui/src/pages/Run/Header.tsx:
##########
@@ -43,6 +43,10 @@ export const Header = ({
   const { t: translate } = useTranslation();
   const [note, setNote] = useState<string | null>(dagRun.note);
 
+  useEffect(() => {
+    setNote(dagRun.note);
+  }, [dagRun.note]);
+

Review Comment:
   @pierrejeambrun I had to do this because if I clicked between a run with 
note and a run without note, the highlight didnot render unless I refreshed the 
page.



-- 
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