discourse/app/assets/javascripts/admin/helpers/human-size.js.es6

4 lines
116 B
JavaScript

Em.Handlebars.helper('human-size', function(size) {
return new Handlebars.SafeString(I18n.toHumanSize(size));
});