Merge pull request #6943 from nextcloud/12-6758
[stable12] Allow quota of 0 again
This commit is contained in:
commit
469285a505
|
@ -561,7 +561,7 @@ var UserList = {
|
|||
if (quota === 'other') {
|
||||
return;
|
||||
}
|
||||
if ((quota !== 'default' && quota !=="none") && (!OC.Util.computerFileSize(quota))) {
|
||||
if (quota !== 'default' && quota !== "none" && OC.Util.computerFileSize(quota) === null) {
|
||||
// the select component has added the bogus value, delete it again
|
||||
$select.find('option[selected]').remove();
|
||||
OC.Notification.showTemporary(t('core', 'Invalid quota value "{val}"', {val: quota}));
|
||||
|
|
Loading…
Reference in New Issue