Skip to content

Commit 3a5489b

Browse files
authored
🌊 Streams: Do not order component templates (#217820)
By feedback from @LucaWintergerst we shouldn't sort the component templates in the "advanced" tab since their order matters when applied. This PR removes the sorting that's set on the table.
1 parent de059eb commit 3a5489b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎x-pack/platform/plugins/shared/streams_app/public/components/data_management/stream_detail_management/component_template_panel.tsx‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,6 @@ export function ComponentTemplatePanel({
9595
[onFlyoutOpen]
9696
);
9797

98-
const sorting = {
99-
sort: {
100-
field: 'name',
101-
direction: 'asc' as const,
102-
},
103-
};
104-
10598
return (
10699
<EuiPanel hasShadow={false} hasBorder>
107100
<EuiFlexGroup direction="column" gutterSize="m">
@@ -114,7 +107,6 @@ export function ComponentTemplatePanel({
114107
<EuiInMemoryTable
115108
items={componentTemplates}
116109
columns={columns}
117-
sorting={sorting}
118110
tableLayout={'auto'}
119111
// align text with heading
120112
className={css`

0 commit comments

Comments
 (0)