mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
🌊 Streams: Small bug fixes (#217309)
* Preview tables for enrichment and partitioning showed header actions which were not actually taking effect (now disabled) * Ingest pipeline was linking to "not found" flyout if data stream doesn't have a default ingest pipeline * Index pattern for discover link and histogram was built the wrong way (shows child streams for classic streams instead of wired streams)
This commit is contained in:
parent
0f4361d05d
commit
86fab6e2b4
3 changed files with 10 additions and 5 deletions
|
@ -36,6 +36,7 @@ export function PreviewTable({
|
|||
return columns.map((column) => ({
|
||||
id: column,
|
||||
displayAsText: column,
|
||||
actions: false as false,
|
||||
initialWidth: columns.length > 10 ? 250 : undefined,
|
||||
}));
|
||||
}, [columns]);
|
||||
|
|
|
@ -42,10 +42,14 @@ export function IngestPipelineDetails({
|
|||
defaultMessage: 'Name',
|
||||
})}
|
||||
</EuiText>
|
||||
<EuiLink onClick={() => onFlyoutOpen(ingestPipeline?.name || '')}>
|
||||
{ingestPipeline ? ingestPipeline.name : '-'}
|
||||
<ManagedBadge meta={ingestPipeline?._meta} />
|
||||
</EuiLink>
|
||||
{ingestPipeline ? (
|
||||
<EuiLink onClick={() => onFlyoutOpen(ingestPipeline.name)}>
|
||||
{ingestPipeline.name}
|
||||
<ManagedBadge meta={ingestPipeline?._meta} />
|
||||
</EuiLink>
|
||||
) : (
|
||||
<EuiText size="s">-</EuiText>
|
||||
)}
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexGroup>
|
||||
|
|
|
@ -11,7 +11,7 @@ export function getIndexPatterns(stream: StreamDefinition | undefined) {
|
|||
if (!stream) {
|
||||
return undefined;
|
||||
}
|
||||
if (!isUnwiredStreamDefinition(stream)) {
|
||||
if (isUnwiredStreamDefinition(stream)) {
|
||||
return [stream.name];
|
||||
}
|
||||
const isRoot = stream.name.indexOf('.') === -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue