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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
146 B
JavaScript
Raw Normal View History

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