[API] Update build.func to set the status message correct (#1878)

* Testing

* Testing

* update /data/page.tsx

* Update page.tsx
This commit is contained in:
Michel Roegl-Brunner
2025-01-30 18:19:05 +01:00
committed by GitHub
parent a0eb173824
commit cd4bcefa58
2 changed files with 35 additions and 14 deletions

View File

@ -195,7 +195,17 @@ const DataFetcher: React.FC = () => {
<tbody>
{paginatedData.map((item, index) => (
<tr key={index}>
<td className="px-4 py-2 border-b">{item.status === "done" ? "✔️" : item.status === "failed" ? "❌" : item.status}</td>
<td className="px-4 py-2 border-b">
{item.status === "done" ? (
"✔️"
) : item.status === "failed" ? (
"❌"
) : item.status === "installing" ? (
"🔄"
) : (
item.status
)}
</td>
<td className="px-4 py-2 border-b">{item.nsapp}</td>
<td className="px-4 py-2 border-b">{item.os_type}</td>
<td className="px-4 py-2 border-b">{item.os_version}</td>