diff --git a/apps/web/app/routes/ws/deployments/_components/versioncard/VersionCard.tsx b/apps/web/app/routes/ws/deployments/_components/versioncard/VersionCard.tsx
index f81937661..81406eb8c 100644
--- a/apps/web/app/routes/ws/deployments/_components/versioncard/VersionCard.tsx
+++ b/apps/web/app/routes/ws/deployments/_components/versioncard/VersionCard.tsx
@@ -234,27 +234,39 @@ const formatJobStatus = (status: string) => {
const FailedPopoverContent: React.FC<{
targets: ReleaseTargetWithState[];
-}> = ({ targets }) => (
-
-
Failed deployments:
- {targets.map((rt) => (
-
-
{rt.resource.name}
- {rt.latestJob?.status && (
-
- {" "}
- — {formatJobStatus(rt.latestJob.status)}
-
- )}
- {rt.latestJob?.message && (
-
- {rt.latestJob.message}
-
- )}
-
- ))}
-
-);
+}> = ({ targets }) => {
+ const { workspace } = useWorkspace();
+ const { deployment } = useDeployment();
+ return (
+
+
Failed deployments:
+ {targets.map((rt) => (
+
+
e.stopPropagation()}
+ >
+ {rt.resource.name}
+
+ {rt.latestJob?.status && (
+
+ {" "}
+ — {formatJobStatus(rt.latestJob.status)}
+
+ )}
+ {rt.latestJob?.message && (
+
+ {rt.latestJob.message}
+
+ )}
+
+ ))}
+
+ );
+};
const DeploymentIssues: React.FC<{
pending: number;
diff --git a/apps/web/app/routes/ws/deployments/page.$deploymentId.release-targets.tsx b/apps/web/app/routes/ws/deployments/page.$deploymentId.release-targets.tsx
index e27afe483..ff07dcdc5 100644
--- a/apps/web/app/routes/ws/deployments/page.$deploymentId.release-targets.tsx
+++ b/apps/web/app/routes/ws/deployments/page.$deploymentId.release-targets.tsx
@@ -31,7 +31,7 @@ import { EnvironmentReleaseTargetsGroup } from "./_components/release-targets/En
function useResource() {
const [searchParams, setSearchParams] = useSearchParams();
- const query = searchParams.get("resource") ?? "";
+ const query = searchParams.get("query") ?? "";
const [search, setSearch] = useState(query);
const [searchDebounced, setSearchDebounced] = useState(search);
useDebounce(