File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
x-pack/plugins/lens/public/indexpattern_datasource Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -580,6 +580,7 @@ export const InnerIndexPatternDataPanel = function InnerIndexPatternDataPanel({
580580 } )
581581 }
582582 exists = { true }
583+ hideDetails = { fieldInfoUnavailable }
583584 hasLoaded = { ! ! hasSyncedExistingFields }
584585 fieldsCount = { filteredFieldGroups . availableFields . length }
585586 isFiltered = {
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export interface FieldsAccordionProps {
4747 renderCallout : JSX . Element ;
4848 exists : boolean ;
4949 showExistenceFetchError ?: boolean ;
50+ hideDetails ?: boolean ;
5051}
5152
5253export const InnerFieldsAccordion = function InnerFieldsAccordion ( {
@@ -61,13 +62,20 @@ export const InnerFieldsAccordion = function InnerFieldsAccordion({
6162 fieldProps,
6263 renderCallout,
6364 exists,
65+ hideDetails,
6466 showExistenceFetchError,
6567} : FieldsAccordionProps ) {
6668 const renderField = useCallback (
6769 ( field : IndexPatternField ) => (
68- < FieldItem { ...fieldProps } key = { field . name } field = { field } exists = { ! ! exists } />
70+ < FieldItem
71+ { ...fieldProps }
72+ key = { field . name }
73+ field = { field }
74+ exists = { exists }
75+ hideDetails = { hideDetails }
76+ />
6977 ) ,
70- [ fieldProps , exists ]
78+ [ fieldProps , exists , hideDetails ]
7179 ) ;
7280
7381 return (
You can’t perform that action at this time.
0 commit comments