diff --git a/agent/agentUiTs/src/AccessCard.tsx b/agent/agentUiTs/src/AccessCard.tsx
new file mode 100644
index 00000000..3d59ff36
--- /dev/null
+++ b/agent/agentUiTs/src/AccessCard.tsx
@@ -0,0 +1,44 @@
+import {AgentObject} from "./model/overview.ts";
+import {AppBar, Box, Button, Card, Chip, Grid2, Toolbar, Typography} from "@mui/material";
+import LanIcon from "@mui/icons-material/Lan";
+import {AccessDetail} from "./api";
+import DeleteIcon from "@mui/icons-material/Delete";
+
+interface AccessCardProps {
+ accessObject: AgentObject;
+}
+
+function AccessCard({ accessObject }: AccessCardProps) {
+ let access = (accessObject.v as AccessDetail);
+ return (
+
+
+
+
+
+
+ {access.frontendToken}
+
+
+
+
+
+
+
+
+
+
+
+ {access.token} → {access.bindAddress}
+
+
+
+
+
+
+
+
+ );
+}
+
+export default AccessCard;
\ No newline at end of file
diff --git a/agent/agentUiTs/src/Overview.tsx b/agent/agentUiTs/src/Overview.tsx
index b5003252..fef8fd80 100644
--- a/agent/agentUiTs/src/Overview.tsx
+++ b/agent/agentUiTs/src/Overview.tsx
@@ -3,6 +3,7 @@ import {Card, Grid2} from "@mui/material";
import ShareIcon from "@mui/icons-material/Share";
import LanIcon from "@mui/icons-material/Lan";
import ShareCard from "./ShareCard.tsx";
+import AccessCard from "./AccessCard.tsx";
interface OverviewProps {
overview: Array;
@@ -14,7 +15,7 @@ function Overview({ overview }: OverviewProps) {
overview.forEach(row => {
switch(row.type) {
case "access":
- cards.push({row.id}
);
+ cards.push();
break;
case "share":
@@ -30,7 +31,7 @@ function Overview({ overview }: OverviewProps) {
);
}
return (
-
+
{cards}
);