<input id="user_quota_max_size"
class="form-control"
type="text"
- formControlName="user_quota_max_size">
+ formControlName="user_quota_max_size"
+ cdDimlessBinary>
<span class="help-block"
*ngIf="(frm.submitted || userForm.controls.user_quota_max_size.dirty) && userForm.controls.user_quota_max_size.hasError('required')"
i18n>
<input id="bucket_quota_max_size"
class="form-control"
type="text"
- formControlName="bucket_quota_max_size">
+ formControlName="bucket_quota_max_size"
+ cdDimlessBinary>
<span class="help-block"
*ngIf="(frm.submitted || userForm.controls.bucket_quota_max_size.dirty) && userForm.controls.bucket_quota_max_size.hasError('required')"
i18n>
value[type + '_quota_max_size'] = null;
} else {
value[type + '_quota_max_size_unlimited'] = false;
- value[type + '_quota_max_size'] = quota.max_size;
+ value[type + '_quota_max_size'] = `${quota.max_size} B`;
}
if (quota.max_objects < 0) {
value[type + '_quota_max_size_unlimited'] = true;