mirror of
https://github.com/apache/superset.git
synced 2026-06-01 05:39:17 +00:00
chore: Empty state refactor (#31860)
This commit is contained in:
committed by
GitHub
parent
7482b20f7b
commit
fcd166149c
@@ -38,7 +38,7 @@ import TextControl from 'src/explore/components/controls/TextControl';
|
||||
import CheckboxControl from 'src/explore/components/controls/CheckboxControl';
|
||||
import PopoverSection from 'src/components/PopoverSection';
|
||||
import ControlHeader from 'src/explore/components/ControlHeader';
|
||||
import { EmptyStateSmall } from 'src/components/EmptyState';
|
||||
import { EmptyState } from 'src/components/EmptyState';
|
||||
import {
|
||||
ANNOTATION_SOURCE_TYPES,
|
||||
ANNOTATION_TYPES,
|
||||
@@ -111,8 +111,9 @@ const NotFoundContentWrapper = styled.div`
|
||||
|
||||
const NotFoundContent = () => (
|
||||
<NotFoundContentWrapper>
|
||||
<EmptyStateSmall
|
||||
<EmptyState
|
||||
title={t('No annotation layers')}
|
||||
size="small"
|
||||
description={
|
||||
<span>
|
||||
{t('Add an annotation layer')}{' '}
|
||||
|
||||
Reference in New Issue
Block a user