mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
cleaned up mutators
This commit is contained in:
@@ -5,12 +5,6 @@ define(
|
||||
'sugar'
|
||||
], function (Backbone) {
|
||||
return Backbone.Model.extend({
|
||||
mutators: {
|
||||
freeSpaceString: function () {
|
||||
return this.get('freeSpace').bytes(2) + ' Free';
|
||||
}
|
||||
},
|
||||
|
||||
defaults: {
|
||||
freeSpace: 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user