mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-08-04 03:27:44 +00:00
fix(devices): fix payment amount generation by passing actual values 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m43s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m43s
This commit is contained in:
@ -190,12 +190,11 @@ export async function blockDeviceAction(
|
||||
(action === "simple-block" ? "Blocked by admin" : "")
|
||||
: isBlocking
|
||||
? "Blocked by parent"
|
||||
: "",
|
||||
: "-",
|
||||
blocked_by: session?.user?.is_superuser ? blocked_by : "PARENT",
|
||||
}),
|
||||
},
|
||||
);
|
||||
|
||||
await handleApiResponse<Device>(response, "blockDeviceAction");
|
||||
|
||||
revalidatePath("/devices");
|
||||
|
Reference in New Issue
Block a user