mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-07 16:03:06 +00:00
Set new space allocation to 0 when trying to use more than the space available
This commit is contained in:
parent
9a9ffe25f2
commit
130d1f9ca3
@ -27,7 +27,7 @@ export function AvailabilitySpaceAllocation({ availability, space }: Props) {
|
||||
},
|
||||
{
|
||||
title: "New space allocation",
|
||||
size: Math.trunc(size),
|
||||
size: size > remaining ? 0 : Math.trunc(size),
|
||||
},
|
||||
{
|
||||
title: "Remaining space",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user