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

4 lines
119 B
JavaScript

import { htmlHelper } from "discourse-common/lib/helpers";
export default htmlHelper(size => I18n.toHumanSize(size));