|
-
+
|
-
-
+
+
|
-
- {log_detective_result.packit_id}
- |
-
- {log_detective_result.analysis_id}
- |
-
-
+ | {group.packit_id} |
+
+ {group.log_detective_targets.map((target) => (
+
+
+
+ ))}
|
- {log_detective_result.commit_sha}
+ {group.commit_sha?.slice(0, 7)}
|
-
+
|
))}
diff --git a/frontend/src/queries/logdetective/logDetectiveGroup.ts b/frontend/src/queries/logdetective/logDetectiveGroup.ts
deleted file mode 100644
index f6e2660c..00000000
--- a/frontend/src/queries/logdetective/logDetectiveGroup.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright Contributors to the Packit project.
-// SPDX-License-Identifier: MIT
-
-import { LogDetectiveGroup } from "../../apiDefinitions";
-
-export interface fetchLogDetectiveGroupProps {
- id: string;
- signal?: AbortSignal;
-}
-
-// Fetch data from dashboard backend (or if we want, directly from the API)
-export const fetchLogDetectiveGroup = async ({
- id,
- signal,
-}: fetchLogDetectiveGroupProps): Promise