[ML] Excludes metadata fields from jobs caps fields service response (#96548)
This commit is contained in:
parent
0316787ead
commit
75e4aeedbc
|
@ -80,7 +80,7 @@ class FieldsService {
|
|||
if (firstKey !== undefined) {
|
||||
const field = fc[firstKey];
|
||||
// add to the list of fields if the field type can be used by ML
|
||||
if (supportedTypes.includes(field.type) === true) {
|
||||
if (supportedTypes.includes(field.type) === true && field.metadata_field !== true) {
|
||||
fields.push({
|
||||
id: k,
|
||||
name: k,
|
||||
|
|
Loading…
Reference in a new issue