You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/07/06 16:57:54 UTC
[GitHub] [superset] eschutho commented on a diff in pull request #20338: chore: removing Druid from front- and back- end
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org