current progress with diagram and project fixes

This commit is contained in:
sara-pervana
2024-01-24 23:15:15 +01:00
parent 1c6e33e74f
commit c7eedb7b4c
19 changed files with 788 additions and 197 deletions

View File

@@ -15,6 +15,8 @@ export const APSummaryDetails = [
},
];
// AP - 2 Tables Configurations to display labels
export const APAttachmentsTableConfig = [
{
key: "name",
@@ -61,29 +63,9 @@ export const APServiceRepositoryTableConfig = [
label: "Status",
render: (value: any) => {
let renderedValue: any = "";
if (Array.isArray(value.data)) {
renderedValue = value.data.join(", ");
} else {
console.error("Status is not an array", value);
}
if (Array.isArray(value.data)) renderedValue = value.data.join(", ");
else console.error("Status is not an array", value);
return renderedValue;
},
},
// {
// key: "other",
// label: "Type",
// render: (value: any) => {
// let renderedValue: any = "";
// if (typeof value === "object") {
// const label = Object.keys(value)[0];
// const info = value[label];
// renderedValue = (
// <code>
// {label} {info}
// </code>
// );
// }
// return renderedValue;
// },
// },
];