mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 10:17:47 +00:00
11 lines
303 B
JavaScript
11 lines
303 B
JavaScript
"use strict";
|
|
NzbDrone.Shared.Cells.FileSizeCell = Backgrid.Cell.extend({
|
|
|
|
className: "file-size-cell",
|
|
|
|
render: function () {
|
|
var size = this.model.get(this.column.get("name"));
|
|
this.delegateEvents();
|
|
return NzbDrone.Shared.FormatHelpers.FileSizeHelper(size);
|
|
}
|
|
});
|