MallikarjunaReddyN commented on PR #42712:
URL: https://github.com/apache/superset/pull/42712#issuecomment-5202667109

   @DamianPendrak  Good catch, thanks! I've updated the implementation to check 
for the existence of the color_scheme_type control:
   
   ```
     visibility: ({ controls }) =>
         !controls.color_scheme_type ||
         isColorSchemeTypeVisible(controls, COLOR_SCHEME_TYPES.fixed_color),
   ```
   
   This keeps the existing behavior for Polygon charts while correctly enabling 
the control for GeoJSON charts, where color_scheme_type is not present.


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