mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
This commit is contained in:
14
UI/AddSeries/RootFolders/RootFolderModel.js
Normal file
14
UI/AddSeries/RootFolders/RootFolderModel.js
Normal file
@@ -0,0 +1,14 @@
|
||||
"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,
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user