|
|
@ -25,6 +25,7 @@ const config = { |
|
|
|
const column = [ |
|
|
|
const column = [ |
|
|
|
{ name: "Nama" }, |
|
|
|
{ name: "Nama" }, |
|
|
|
{ name: "Deskripsi" }, |
|
|
|
{ name: "Deskripsi" }, |
|
|
|
|
|
|
|
{ name: "Color" }, |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
const ProjectType = ({ params }) => { |
|
|
|
const ProjectType = ({ params }) => { |
|
|
@ -99,7 +100,7 @@ const ProjectType = ({ params }) => { |
|
|
|
"orders": { |
|
|
|
"orders": { |
|
|
|
"ascending": true, |
|
|
|
"ascending": true, |
|
|
|
"columns": [ |
|
|
|
"columns": [ |
|
|
|
'id' |
|
|
|
'name' |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
"paging": { |
|
|
|
"paging": { |
|
|
@ -351,7 +352,16 @@ const ProjectType = ({ params }) => { |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td>{n.name}</td> |
|
|
|
<td>{n.name}</td> |
|
|
|
<td>{n.description}</td> |
|
|
|
<td>{n.description ?? '-'}</td> |
|
|
|
|
|
|
|
{n.color != null ? ( |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<Tooltip title={n.color}> |
|
|
|
|
|
|
|
<span className="fa fa-square" style={{ color: n.color }}></span> |
|
|
|
|
|
|
|
</Tooltip> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
): ( |
|
|
|
|
|
|
|
<td><small style={{ color:"grey",fontStyle:"italic" }}>No color set</small></td> |
|
|
|
|
|
|
|
)} |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
) |
|
|
|
) |
|
|
|
})} |
|
|
|
})} |
|
|
|