Skip to content

Commit

Permalink
[Build] fix icons in stack management (#441)
Browse files Browse the repository at this point in the history
Icons were renamed from `kql` to `dql` which doesn't exist. Restoring the
correct icon fixes the error in the browser as well.

Issues resolved:
#431

Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla committed Jun 4, 2021
1 parent 27b812b commit e7cd3ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/plugins/data/public/ui/typeahead/suggestion_component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ import { QuerySuggestion } from '../../autocomplete';
function getEuiIconType(type: string) {
switch (type) {
case 'field':
return 'dqlField';
return 'kqlField';
case 'value':
return 'dqlValue';
return 'kqlValue';
case 'recentSearch':
return 'search';
case 'conjunction':
return 'dqlSelector';
return 'kqlSelector';
case 'operator':
return 'dqlOperand';
return 'kqlOperand';
default:
throw new Error(`Unknown type: ${type}`);
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class Table extends PureComponent<TableProps, TableState> {
}
),
type: 'icon',
icon: 'dqlSelector',
icon: 'kqlSelector',
onClick: (object) => onShowRelationships(object),
'data-test-subj': 'savedObjectsTableAction-relationships',
},
Expand Down

0 comments on commit e7cd3ba

Please sign in to comment.