mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Almost finished linking frontend to backend. A few issues with DB mapping to work out.
This commit is contained in:
@@ -11,9 +11,9 @@ module.exports = Backbone.Model.extend({
|
||||
status : 0
|
||||
},
|
||||
|
||||
setAlbumsMonitored : function(seasonNumber) {
|
||||
setAlbumsMonitored : function(albumName) {
|
||||
_.each(this.get('albums'), function(album) {
|
||||
if (season.seasonNumber === seasonNumber) {
|
||||
if (season.albumName === albumName) {
|
||||
album.monitored = !album.monitored;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user