Pawansingh3889 commented on PR #41799:
URL: https://github.com/apache/superset/pull/41799#issuecomment-4913724742

   Thanks @rusackas, that's the cleaner approach. Dropped the fallback so it 
matches the backend and the other two call sites. The backend wouldn't serve a 
can_csv-only user anyway, so hiding a button that only leads to a 403 is the 
honest version.
   
   I also added the explicit return type to keep the no-any push happy!


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