mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Streams] Fix broken image usage (#206258)
## 📓 Summary Fixes a missing referenced image after merging https://github.com/elastic/kibana/pull/204793
This commit is contained in:
parent
f612e71452
commit
3d82bb58af
1 changed files with 2 additions and 9 deletions
|
@ -8,7 +8,6 @@ import {
|
|||
EuiButton,
|
||||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
EuiImage,
|
||||
EuiLoadingSpinner,
|
||||
EuiPanel,
|
||||
EuiTab,
|
||||
|
@ -22,7 +21,6 @@ import React, { useMemo } from 'react';
|
|||
import { css } from '@emotion/css';
|
||||
import { ReadStreamDefinition, isWiredReadStream, isWiredStream } from '@kbn/streams-schema';
|
||||
import { useDateRange } from '@kbn/observability-utils-browser/hooks/use_date_range';
|
||||
import illustration from '../assets/illustration.png';
|
||||
import { useKibana } from '../../hooks/use_kibana';
|
||||
import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch';
|
||||
import { ControlledEsqlChart } from '../esql_chart/controlled_esql_chart';
|
||||
|
@ -30,6 +28,7 @@ import { StreamsAppSearchBar } from '../streams_app_search_bar';
|
|||
import { getIndexPatterns } from '../../util/hierarchy_helpers';
|
||||
import { StreamsList } from '../streams_list';
|
||||
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
|
||||
import { AssetImage } from '../asset_image';
|
||||
|
||||
const formatNumber = (val: number) => {
|
||||
return Number(val).toLocaleString('en', {
|
||||
|
@ -303,13 +302,7 @@ function ChildStreamList({ stream }: { stream?: ReadStreamDefinition }) {
|
|||
`}
|
||||
>
|
||||
<EuiFlexGroup direction="column" gutterSize="s">
|
||||
<EuiImage
|
||||
src={illustration}
|
||||
alt="Illustration"
|
||||
className={css`
|
||||
width: 250px;
|
||||
`}
|
||||
/>
|
||||
<AssetImage type="welcome" />
|
||||
<EuiText size="m" textAlign="center">
|
||||
{i18n.translate('xpack.streams.entityDetailOverview.noChildStreams', {
|
||||
defaultMessage: 'Create streams for your logs',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue