generated from Luis/nextjs-python-web-template
Before Milestone Meeting Final Changes (#40)
some final fixes before the demo Co-authored-by: Luis-Hebendanz <consulting@qube.email> Reviewed-on: #40 Co-authored-by: sara-pervana <saramakishti@gmail.com> Co-committed-by: sara-pervana <saramakishti@gmail.com>
This commit was merged in pull request #40.
This commit is contained in:
35
pkgs/ui/src/config/home/index.ts
Normal file
35
pkgs/ui/src/config/home/index.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
export const HomeTableConfig = [
|
||||
{
|
||||
key: "name",
|
||||
label: "Entity name",
|
||||
},
|
||||
{
|
||||
key: "did",
|
||||
label: "Entity DID",
|
||||
},
|
||||
{
|
||||
key: "other",
|
||||
label: "Network",
|
||||
render: (value: any) => {
|
||||
const renderedValue = typeof value === "object" ? value?.network : "-";
|
||||
return renderedValue;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "ip",
|
||||
label: "IP address",
|
||||
},
|
||||
{
|
||||
key: "other",
|
||||
label: "Roles",
|
||||
render: (value: any) => {
|
||||
const renderedValue =
|
||||
typeof value === "object" ? value?.roles?.join(", ") : "-";
|
||||
return renderedValue;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "attached",
|
||||
label: "Attached",
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user