mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat(explore): adhoc column formatting for Table chart (#13758)
This commit is contained in:
@@ -71,6 +71,9 @@ export default class Control extends React.PureComponent<
|
||||
const { type, hidden } = this.props;
|
||||
if (!type) return null;
|
||||
const ControlComponent = typeof type === 'string' ? controlMap[type] : type;
|
||||
if (!ControlComponent) {
|
||||
return `Unknown controlType: ${type}`;
|
||||
}
|
||||
return (
|
||||
<div
|
||||
className="Control"
|
||||
|
||||
Reference in New Issue
Block a user