mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
fixed FileSizeCell, template helper.
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
define(['app'], function () {
|
||||
NzbDrone.Shared.FormatHelpers.FileSizeHelper = function (sourceSize) {
|
||||
var size = Number(sourceSize);
|
||||
this.$el.html(size.bytes(1));
|
||||
return this;
|
||||
return size.bytes(1);
|
||||
};
|
||||
|
||||
NzbDrone.Shared.FormatHelpers.DateHelper = function (sourceDate) {
|
||||
@@ -33,4 +32,4 @@ define(['app'], function () {
|
||||
|
||||
return date.format('{MM}/{dd}/{yyyy}');
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user