1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-15 15:32:33 +01:00
Radarr/UI/AddSeries/RootFolders/RootFolderModel.js

14 lines
342 B
JavaScript
Raw Normal View History

2013-03-29 20:17:03 +01:00
"use strict";
define(['app'], function () {
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
defaults: {
freeSpace: 0,
}
});
});