From 24b1a2cedac5aeec63dcb7055922268e04f9cc3e Mon Sep 17 00:00:00 2001 From: syeeeee <165753731+seungyeoneeee@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:28:34 +0900 Subject: [PATCH] fix: fix metric disappeared issue (#5091) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 이승연 --- .../asset-inventory/components/MetricExplorerLSBMetricTree.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/services/asset-inventory/components/MetricExplorerLSBMetricTree.vue b/apps/web/src/services/asset-inventory/components/MetricExplorerLSBMetricTree.vue index c42552aa38..ffb811d165 100644 --- a/apps/web/src/services/asset-inventory/components/MetricExplorerLSBMetricTree.vue +++ b/apps/web/src/services/asset-inventory/components/MetricExplorerLSBMetricTree.vue @@ -33,6 +33,9 @@ const filteredMetricItems = ref([]); watch(() => props.metricItems, (updatedMetricItems) => { filteredMetricItems.value = updatedMetricItems.filter(((metricItem) => { + if (metricItem.data.is_managed) { + return true; + } if (storeState.isAdminMode) { return metricItem.data.data.resource_group === 'DOMAIN'; }