mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
14 lines
341 B
JavaScript
14 lines
341 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
|
|
}
|
|
});
|
|
}); |