mirror of https://github.com/apache/superset.git
fix(dev-server run): Check for environment tag not being undefined (#21232)
* fixed local dev-server run * removed console log * removed console log
This commit is contained in:
parent
0c43190e04
commit
b354f2265a
|
@ -103,7 +103,6 @@ const ColumnSelectPopover = ({
|
|||
const datasourceType = useSelector<ExplorePageState, string | undefined>(
|
||||
state => state.explore.datasource.type,
|
||||
);
|
||||
console.log('datasource', datasourceType);
|
||||
const [initialLabel] = useState(label);
|
||||
const [initialAdhocColumn, initialCalculatedColumn, initialSimpleColumn] =
|
||||
getInitialColumnValues(editedColumn);
|
||||
|
@ -248,8 +247,6 @@ const ColumnSelectPopover = ({
|
|||
const savedExpressionsLabel = t('Saved expressions');
|
||||
const simpleColumnsLabel = t('Column');
|
||||
|
||||
console.log(calculatedColumns.length > 0);
|
||||
console.log(datasourceType === DatasourceType.Query);
|
||||
return (
|
||||
<Form layout="vertical" id="metrics-edit-popover">
|
||||
<Tabs
|
||||
|
|
|
@ -281,7 +281,7 @@ const RightMenu = ({
|
|||
onDatabaseAdd={handleDatabaseAdd}
|
||||
/>
|
||||
)}
|
||||
{environmentTag.text && (
|
||||
{environmentTag && environmentTag.text && (
|
||||
<Label
|
||||
css={{ borderRadius: `${theme.gridUnit * 125}px` }}
|
||||
color={
|
||||
|
|
Loading…
Reference in New Issue