Attachment View
diff --git a/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx b/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx
index 6f84e08..7d872ed 100644
--- a/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx
+++ b/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx
@@ -1,13 +1,15 @@
"use client";
-import { DLGResolutionTableConfig, DLGSummaryDetails } from "@/config/dlg";
+import { DLGResolutionTableConfig } from "@/config/dlg";
import CustomTable from "@/components/table";
import SummaryDetails from "@/components/summary_card";
import { useEffect } from "react";
import { useGetAllResolutions } from "@/api/resolution/resolution";
import { mutate } from "swr";
+import useGetEntityByNameOrDid from "@/components/hooks/useGetEntityByNameOrDid";
export default function DLG() {
+ const { entity } = useGetEntityByNameOrDid("DLG");
const {
data: resolutionData,
isLoading: loadingResolutions,
@@ -37,12 +39,24 @@ export default function DLG() {
return (
diff --git a/pkgs/ui/src/config/access_point/index.tsx b/pkgs/ui/src/config/access_point/index.tsx
index 8fae746..7b3d58b 100644
--- a/pkgs/ui/src/config/access_point/index.tsx
+++ b/pkgs/ui/src/config/access_point/index.tsx
@@ -1,20 +1,3 @@
-// AP - Summary
-
-export const APSummaryDetails = [
- {
- label: "DID",
- value: "did:sov:test:1274",
- },
- {
- label: "IP",
- value: "127.0.0.2",
- },
- {
- label: "Network",
- value: "Carlo's Home Network",
- },
-];
-
// AP - 2 Tables Configurations to display labels
export const APAttachmentsTableConfig = [
diff --git a/pkgs/ui/src/config/dlg/index.ts b/pkgs/ui/src/config/dlg/index.ts
index 1fdafde..6afdd7c 100644
--- a/pkgs/ui/src/config/dlg/index.ts
+++ b/pkgs/ui/src/config/dlg/index.ts
@@ -1,18 +1,5 @@
-// DLG Summary Details
-
import { formatDateTime } from "@/utils/helpers";
-export const DLGSummaryDetails = [
- {
- label: "DID",
- value: "did:sov:test:1274",
- },
- {
- label: "URL",
- value: "dlg.tu-berlin.de",
- },
-];
-
// DLG - 2 Tables Configurations to display labels
export const DLGResolutionDummyData = [