eschutho commented on code in PR #20338:
URL: https://github.com/apache/superset/pull/20338#discussion_r915066431


##########
superset-frontend/src/explore/controlUtils/getSectionsToRender.ts:
##########
@@ -56,9 +56,9 @@ const getMemoizedSectionsToRender = memoizeOne(
 
     // list of datasource-specific controls that should be removed
     const invalidControls =
-      datasourceType === 'table'
-        ? ['granularity', 'druid_time_origin']
-        : ['granularity_sqla', 'time_grain_sqla'];
+      datasourceType !== 'table'
+        ? ['granularity_sqla', 'time_grain_sqla']
+        : ['granularity'];

Review Comment:
   do you want to switch this back to === instead?



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