From eca58851b9c261d923c458bd1465dab5c6be2501 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Wed, 4 May 2022 17:16:19 +0300 Subject: [PATCH] lovercase emotion function --- .../public/dataview_picker/change_dataview.styles.ts | 2 +- .../unified_search/public/dataview_picker/change_dataview.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.styles.ts b/src/plugins/unified_search/public/dataview_picker/change_dataview.styles.ts index 77b7c4c6d94df..1c505752d392c 100644 --- a/src/plugins/unified_search/public/dataview_picker/change_dataview.styles.ts +++ b/src/plugins/unified_search/public/dataview_picker/change_dataview.styles.ts @@ -8,7 +8,7 @@ export const DATA_VIEW_POPOVER_CONTENT_WIDTH = 280; -export const ChangeDataViewStyles = ({ fullWidth }: { fullWidth?: boolean }) => { +export const changeDataViewStyles = ({ fullWidth }: { fullWidth?: boolean }) => { return { trigger: { maxWidth: fullWidth ? undefined : DATA_VIEW_POPOVER_CONTENT_WIDTH, diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx b/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx index 08c75e6427426..92e0837b1407f 100644 --- a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx +++ b/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx @@ -27,7 +27,7 @@ import { IDataPluginServices } from '@kbn/data-plugin/public'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import type { DataViewPickerProps } from '.'; import { DataViewsList } from './dataview_list'; -import { ChangeDataViewStyles } from './change_dataview.styles'; +import { changeDataViewStyles } from './change_dataview.styles'; const NEW_DATA_VIEW_MENU_STORAGE_KEY = 'data.newDataViewMenu'; @@ -66,7 +66,7 @@ export function ChangeDataView({ const [triggerLabel, setTriggerLabel] = useState(''); const kibana = useKibana(); const { application, data, storage } = kibana.services; - const styles = ChangeDataViewStyles({ fullWidth: trigger.fullWidth }); + const styles = changeDataViewStyles({ fullWidth: trigger.fullWidth }); const [isTourDismissed, setIsTourDismissed] = useState(() => Boolean(storage.get(NEW_DATA_VIEW_MENU_STORAGE_KEY))