mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Lens] fix wrong message in fields accordion (#78924)
This commit is contained in:
parent
f43c89f339
commit
3e7fb9352d
2 changed files with 4 additions and 1 deletions
|
@ -557,6 +557,7 @@ export const InnerIndexPatternDataPanel = function InnerIndexPatternDataPanel({
|
|||
}}
|
||||
currentIndexPatternId={currentIndexPatternId}
|
||||
existenceFetchFailed={existenceFetchFailed}
|
||||
existFieldsInIndex={!!allFields.length}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
|
|
|
@ -52,6 +52,7 @@ export function FieldList({
|
|||
hasSyncedExistingFields,
|
||||
filter,
|
||||
currentIndexPatternId,
|
||||
existFieldsInIndex,
|
||||
}: {
|
||||
exists: (field: IndexPatternField) => boolean;
|
||||
fieldGroups: FieldGroups;
|
||||
|
@ -63,6 +64,7 @@ export function FieldList({
|
|||
typeFilter: string[];
|
||||
};
|
||||
currentIndexPatternId: string;
|
||||
existFieldsInIndex: boolean;
|
||||
}) {
|
||||
const [pageSize, setPageSize] = useState(PAGINATION_SIZE);
|
||||
const [scrollContainer, setScrollContainer] = useState<Element | undefined>(undefined);
|
||||
|
@ -180,7 +182,7 @@ export function FieldList({
|
|||
isAffectedByGlobalFilter={fieldGroup.isAffectedByGlobalFilter}
|
||||
isAffectedByFieldFilter={isAffectedByFieldFilter}
|
||||
isAffectedByTimerange={fieldGroup.isAffectedByTimeFilter}
|
||||
existFieldsInIndex={!!fieldGroup.fieldCount}
|
||||
existFieldsInIndex={!!existFieldsInIndex}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue