Browse Source

publish muk_web_utils - 12.0

pull/48/head
MuK IT GmbH 6 years ago
parent
commit
9ffdcd6f18
  1. 1
      muk_web_utils/static/src/js/fields/utils.js

1
muk_web_utils/static/src/js/fields/utils.js

@ -31,7 +31,6 @@ function formatBinarySize(value, field, options) {
options = _.defaults(options || {}, { options = _.defaults(options || {}, {
si: true, si: true,
}); });
console.log(options)
var thresh = options.si ? 1000 : 1024; var thresh = options.si ? 1000 : 1024;
if(Math.abs(value) < thresh) { if(Math.abs(value) < thresh) {
return utils.format['float'](value, field, options) + ' B'; return utils.format['float'](value, field, options) + ' B';

Loading…
Cancel
Save