mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-15 15:32:33 +01:00
663160c06a
renamed NzbDrone.Backbone to UI
14 lines
342 B
JavaScript
14 lines
342 B
JavaScript
"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,
|
|
}
|
|
});
|
|
}); |