Update max buckets to be greater than the number

pull/13809/head
Palak Bhojani 2019-05-06 15:38:31 -07:00
parent afd4c6b902
commit c44d8a6173
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ export const checkBucketLimits = () => async (
const bucketsMax = extractBucketMax(limits)
const bucketsCount = list.length
if (bucketsCount >= bucketsMax) {
if (bucketsCount > bucketsMax) {
dispatch(setBucketLimitStatus(LimitStatus.EXCEEDED))
dispatch(notify(resourceLimitReached('buckets')))
} else {