Skip to content

Commit

Permalink
[Streams] Fix broken image usage (elastic#206258)
Browse files Browse the repository at this point in the history
## 📓 Summary

Fixes a missing referenced image after merging
elastic#204793
  • Loading branch information
tonyghiani authored and CAWilson94 committed Jan 10, 2025
1 parent 388e379 commit b02fe6c
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
EuiButton,
EuiFlexGroup,
EuiFlexItem,
EuiImage,
EuiLoadingSpinner,
EuiPanel,
EuiTab,
Expand All @@ -22,14 +21,14 @@ 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';
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', {
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit b02fe6c

Please sign in to comment.