From d1cf38ff3c3156c1895c134a34ae212489e7a33d Mon Sep 17 00:00:00 2001 From: andrewwallacespeckle Date: Thu, 2 Oct 2025 16:27:23 +0100 Subject: [PATCH] fix(fe): Clear isolated objects first to ensure watcher fires --- .../automate/viewer/panel/FunctionRunRowObjectResult.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue b/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue index cdea8347d..8363e7c1d 100644 --- a/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue +++ b/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue @@ -165,6 +165,9 @@ const isolateOrUnisolateObjects = () => { logger.debug('[FunctionRunRowObjectResult] Setting metadataGradientIsSet to false') metadataGradientIsSet.value = false + // Clear isolated objects first to ensure watcher fires + filters.isolatedObjectIds.value = [] + if (!wasIsolated) { logger.debug( '[FunctionRunRowObjectResult] Objects were not isolated, calling isolateObjects with ids:',