codyml commented on code in PR #21351:
URL: https://github.com/apache/superset/pull/21351#discussion_r988455161


##########
superset-frontend/src/components/Chart/ChartRenderer.jsx:
##########
@@ -83,8 +82,10 @@ class ChartRenderer extends React.Component {
   constructor(props) {
     super(props);
     this.state = {
+      showContextMenu:
+        props.source === 'dashboard' &&

Review Comment:
   Neither this component or the one that sets the prop is written in TS, but I 
was able to add an external module with an enum definition that I import and 
use.



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