Skip to content

Commit

Permalink
Resolve review requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Machi3mfl committed Dec 12, 2023
1 parent 25e2098 commit 07ae5ab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type tDocViewerProps = {
*/
export const shortenDottedString = (input: string) => input.replace(DOT_PREFIX_RE, '$1.');

export function getFieldTypeName(type: string) {
export const getFieldTypeName = (type: string) => {
switch (type) {
case 'boolean':
return i18n.translate('discover.fieldNameIcons.booleanAriaLabel', {
Expand Down Expand Up @@ -81,7 +81,7 @@ const DocViewer = (props: tDocViewerProps) => {

return (<>
{flattened && (
<table className="table table-condensed osdDocViewerTable">
<table>
<tbody>
{Object.keys(flattened)
.sort()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SearchResponse } from "../../../../../../../src/core/server";
import * as FileSaver from '../../../../services/file-saver';
import { beautifyDate } from "../../../agents/vuls/inventory/lib";
import { SearchParams, search } from "../search_bar/use_search_bar_service";
import { SearchParams, search } from "../search_bar/search_bar_service";
import { IFieldType, IndexPattern } from "../../../../../../../src/plugins/data/common";
export const MAX_ENTRIES_PER_QUERY = 10000;
import { EuiDataGridColumn } from '@elastic/eui';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './use_search_bar_service';
export * from './search_bar_service';
export * from './use_search_bar';

0 comments on commit 07ae5ab

Please sign in to comment.