[ML] Fixing notifications filter for NLP messages (#162024)

Fixing typo in the notifications check
This commit is contained in:
James Gowdy 2023-07-17 11:42:34 +01:00 committed by GitHub
parent e28ed4ea33
commit ea0ef4b93b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ export class NotificationsService {
if (this.enabledFeatures.dfa) {
idsPerType.push({ type: 'data_frame_analytics', ids: dfaJobIds });
}
if (this.enabledFeatures.ad) {
if (this.enabledFeatures.nlp) {
idsPerType.push({ type: 'inference', ids: modelIds as string[] });
}