diff --git a/webui/src/components/ActivityBar.tsx b/webui/src/components/ActivityBar.tsx index 397457b8..faa76f66 100644 --- a/webui/src/components/ActivityBar.tsx +++ b/webui/src/components/ActivityBar.tsx @@ -65,7 +65,7 @@ export const ActivityBar = () => { const displayName = displayTypeToString(getTypeForDisplay(op)); return ( - + {displayName} in progress for plan {op.planId} to {op.repoId} for{" "} {formatDuration(Date.now() - Number(op.unixTimeStartMs))} diff --git a/webui/src/views/App.tsx b/webui/src/views/App.tsx index c7b214d0..e354f8f9 100644 --- a/webui/src/views/App.tsx +++ b/webui/src/views/App.tsx @@ -313,7 +313,11 @@ const IconForResource = ({ case "createdOperations": case "updatedOperations": const ops = event.event.value.operations; - if (ops.find((op) => op.planId === planId && op.repoId === repoId)) { + if ( + ops.find( + (op) => (!planId || op.planId === planId) && op.repoId === repoId + ) + ) { refresh(); } break;