Logs: Hide filters for derived fields in table viz (#78955)

Logs: Hide filters from derived fields
This commit is contained in:
Sven Grossmann 2023-12-18 16:07:46 +01:00 committed by GitHub
parent 0437a74956
commit 68189cdaeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,9 @@ const isFieldFilterable = (field: Field, logsFrame?: LogsFrame | undefined) => {
if (logsFrame.timeField.name === field.name) {
return false;
}
// @todo not currently excluding derived fields from filtering
if (field.config.links?.length) {
return false;
}
return true;
};