mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-04 06:23:08 +00:00
Set 0.1 GB as minimum for availability
This commit is contained in:
parent
630964fc65
commit
9ae79cfa47
@ -50,7 +50,7 @@ export const AvailabilityUtils = {
|
||||
return unit === "tb" ? TB : GB;
|
||||
},
|
||||
isValid: (availability: AvailabilityState, max: number) =>
|
||||
availability.totalSize > 0 &&
|
||||
availability.totalSize >= 0.1 &&
|
||||
availability.totalSize *
|
||||
AvailabilityUtils.unitValue(availability.totalSizeUnit) <=
|
||||
max,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user