mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-11 22:05:50 +00:00
fix: simplify condition for displaying pending payment link in ClickableRow component 🐛
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 18m1s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 18m1s
This commit is contained in:
@ -64,7 +64,7 @@ export default function ClickableRow({
|
|||||||
) : (
|
) : (
|
||||||
<p className="text-muted-foreground">Device Inactive</p>
|
<p className="text-muted-foreground">Device Inactive</p>
|
||||||
)}
|
)}
|
||||||
{device.has_a_pending_payment && device.pending_payment_id !== null && (
|
{device.has_a_pending_payment && (
|
||||||
<Link href={`/payments/${device.pending_payment_id}`}>
|
<Link href={`/payments/${device.pending_payment_id}`}>
|
||||||
<span className="bg-muted rounded px-2 p-1 mt-2 flex hover:underline items-center justify-center gap-2 text-muted-foreground">
|
<span className="bg-muted rounded px-2 p-1 mt-2 flex hover:underline items-center justify-center gap-2 text-muted-foreground">
|
||||||
Payment Pending{" "}
|
Payment Pending{" "}
|
||||||
|
Reference in New Issue
Block a user