|
|
|
@ -25,6 +25,7 @@ const config = {
|
|
|
|
|
const column = [ |
|
|
|
|
{ name: "Nama" }, |
|
|
|
|
{ name: "Deskripsi" }, |
|
|
|
|
{ name: "Color" }, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
const ProjectType = ({ params }) => { |
|
|
|
@ -99,7 +100,7 @@ const ProjectType = ({ params }) => {
|
|
|
|
|
"orders": { |
|
|
|
|
"ascending": true, |
|
|
|
|
"columns": [ |
|
|
|
|
'id' |
|
|
|
|
'name' |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
"paging": { |
|
|
|
@ -351,7 +352,16 @@ const ProjectType = ({ params }) => {
|
|
|
|
|
</Tooltip> |
|
|
|
|
</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> |
|
|
|
|
) |
|
|
|
|
})} |
|
|
|
|