georgs #23

Closed
Ghost wants to merge 50 commits from georgs into main
3 changed files with 93 additions and 92 deletions
Showing only changes of commit f3cf07df8e - Show all commits

View File

@@ -27,7 +27,8 @@ const CustomTable = ({configuration, data}: ICustomTable) => {
if (Array.isArray(value)) renderedValue = value.join(", ");
// cover use case if the data is an boolean
if (typeof value === "boolean") renderedValue = <Checkbox disabled checked={value}/>;
if (typeof value === "boolean")
renderedValue = <Checkbox disabled checked={value} />;
// cover use case if we want to render a component
if (render) renderedValue = render(value);

View File

@@ -7,7 +7,7 @@ export const HomeDummyData = [
network: "Carlo's Home Network",
ip_address: "127.0.0.1",
roles: "service repository, service consumer, DLG",
visible: true
visible: true,
},
{
entity_name: "C2",
@@ -15,8 +15,8 @@ export const HomeDummyData = [
network: "Steve's Home Network",
ip_address: "127.0.0.1",
roles: "service repository, service consumer, DLG",
visible: false
}
visible: false,
},
];
export const HomeTableConfig = [