fix linting

This commit is contained in:
Arslan, Erdem
2023-11-25 01:43:31 +01:00
committed by Luis-Hebendanz
parent 78144fde03
commit f3cf07df8e
3 changed files with 93 additions and 92 deletions

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 = [