mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: Empty state refactor (#31860)
This commit is contained in:
committed by
GitHub
parent
7482b20f7b
commit
fcd166149c
@@ -100,7 +100,7 @@ import {
|
||||
LocalStorageKeys,
|
||||
setItem,
|
||||
} from 'src/utils/localStorageHelpers';
|
||||
import { EmptyStateBig } from 'src/components/EmptyState';
|
||||
import { EmptyState } from 'src/components/EmptyState';
|
||||
import Alert from 'src/components/Alert';
|
||||
import getBootstrapData from 'src/utils/getBootstrapData';
|
||||
import useLogAction from 'src/logger/useLogAction';
|
||||
@@ -968,8 +968,9 @@ const SqlEditor: FC<Props> = ({
|
||||
<Skeleton active />
|
||||
</div>
|
||||
) : showEmptyState && !hasSqlStatement ? (
|
||||
<EmptyStateBig
|
||||
<EmptyState
|
||||
image="vector.svg"
|
||||
size="large"
|
||||
title={t('Select a database to write a query')}
|
||||
description={t(
|
||||
'Choose one of the available databases from the panel on the left.',
|
||||
|
||||
Reference in New Issue
Block a user