perbaikan data
This commit is contained in:
@@ -211,7 +211,6 @@
|
||||
{ key: "issue_number", title: "Issue Number" },
|
||||
{ key: "move_issue", title: "Move Issue" },
|
||||
{ key: "description_of_the_issue", title: "Description of The Issue" },
|
||||
{ key: "reported_date", title: "Reported Date" },
|
||||
{ key: "issue_related_image", title: "Issue Related Image" },
|
||||
{ key: "issue_source", title: "Issue Source" },
|
||||
{ key: "reported_name", title: "Reported By" },
|
||||
@@ -732,7 +731,7 @@
|
||||
row[col.key as keyof Issue] as
|
||||
| string
|
||||
| number,
|
||||
).toLocaleDateString("en-US")
|
||||
).toLocaleString("en-US")
|
||||
: ""}
|
||||
</td>
|
||||
{:else if col.key === "need_approval"}
|
||||
@@ -751,6 +750,23 @@
|
||||
❌
|
||||
{/if}
|
||||
</td>
|
||||
{:else if col.key === "created_at"}
|
||||
<!-- beri jam jg -->
|
||||
<td class="px-4 py-2">
|
||||
{new Date(
|
||||
row[col.key as keyof Issue] as string,
|
||||
).toLocaleString("en-US")}
|
||||
</td>
|
||||
{:else if col.key === "updated_at"}
|
||||
<td class="px-4 py-2">
|
||||
{row[col.key as keyof Issue]
|
||||
? new Date(
|
||||
row[
|
||||
col.key as keyof Issue
|
||||
] as string,
|
||||
).toLocaleString("en-US")
|
||||
: ""}
|
||||
</td>
|
||||
{:else}
|
||||
<td class="px-4 py-2 text-gray-700"
|
||||
>{row[col.key as keyof Issue]}</td
|
||||
|
||||
Reference in New Issue
Block a user