Read approved property from d1 instead of nonexistent kv data
This commit is contained in:
parent
528ba3a755
commit
56370c027a
@ -297,7 +297,7 @@ export default function () {
|
|||||||
<Td>
|
<Td>
|
||||||
{result.open
|
{result.open
|
||||||
? "Pending"
|
? "Pending"
|
||||||
: Object.values(result.decisions).find((d) => !d)
|
: result.approved
|
||||||
? "Denied"
|
? "Denied"
|
||||||
: "Approved"}
|
: "Approved"}
|
||||||
</Td>
|
</Td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user