From 24e60ea70b38b599e14efbe13cab6d272a69db90 Mon Sep 17 00:00:00 2001 From: Otavio Jacobi Date: Thu, 21 Nov 2024 09:53:39 -0300 Subject: [PATCH] Ignore host app service installs for device service env vars Change-type: patch --- src/models/device.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/models/device.ts b/src/models/device.ts index 2da50a1cd..7d45b5540 100644 --- a/src/models/device.ts +++ b/src/models/device.ts @@ -2932,6 +2932,16 @@ const getDeviceModel = function ( $expr: { is: { service_name: serviceNameOrId, + application: { + $any: { + $alias: 'a', + $expr: { + a: { + is_host: false, + }, + }, + }, + }, }, }, }, @@ -3018,6 +3028,16 @@ const getDeviceModel = function ( $expr: { s: { service_name: serviceNameOrId, + application: { + $any: { + $alias: 'a', + $expr: { + a: { + is_host: false, + }, + }, + }, + }, }, }, }, @@ -3099,6 +3119,16 @@ const getDeviceModel = function ( $expr: { is: { service_name: serviceNameOrId, + application: { + $any: { + $alias: 'a', + $expr: { + a: { + is_host: false, + }, + }, + }, + }, }, }, },