Read approved property from d1 instead of nonexistent kv data

This commit is contained in:
Regalijan 2023-10-26 10:50:04 -04:00
parent 528ba3a755
commit 56370c027a
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -297,7 +297,7 @@ export default function () {
<Td>
{result.open
? "Pending"
: Object.values(result.decisions).find((d) => !d)
: result.approved
? "Denied"
: "Approved"}
</Td>