FelipeGLopez commented on code in PR #36708:
URL: https://github.com/apache/superset/pull/36708#discussion_r2742280462


##########
superset-frontend/src/explore/types.ts:
##########
@@ -59,6 +59,7 @@ export interface ChartState {
   chartUpdateStartTime: number;
   lastRendered: number;
   latestQueryFormData: LatestQueryFormData;
+  form_data?: LatestQueryFormData;
   sliceFormData: QueryFormData | null;

Review Comment:
   `latestQueryFormData` is what was actually queried (used for the most recent 
query execution), `form_data` is what's displayed in the UI. 
   Before this fix, it could become out of sync with `latestQueryFormData` and 
now is synced with `latestQueryFormData` after successful chart updates.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to