diff --git a/src/features/breakdown/BreakdownPage.vue b/src/features/breakdown/BreakdownPage.vue index e2df99a..73e162f 100644 --- a/src/features/breakdown/BreakdownPage.vue +++ b/src/features/breakdown/BreakdownPage.vue @@ -42,9 +42,9 @@ async function loadHandDiagnostics(id: string) { handDiagnostics.value = null try { const data = await breakdownApi.handOccupancyDiagnostics(id) - if (version === handDiagnosticsVersion) handDiagnostics.value = data + if (version === handDiagnosticsVersion && toolsOpen.value && projectId.value === id) handDiagnostics.value = data } catch (cause) { - if (version === handDiagnosticsVersion) actionMessage?.error(errorMessage(cause)) + if (version === handDiagnosticsVersion && toolsOpen.value && projectId.value === id) actionMessage?.error(errorMessage(cause)) } finally { if (version === handDiagnosticsVersion) handDiagnosticsBusy.value = false }