mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 23:45:46 +02:00
fixed calendar view
This commit is contained in:
@@ -28,9 +28,13 @@ define(['app'], function () {
|
||||
|
||||
var value = this.model.get(name);
|
||||
|
||||
if(!value){
|
||||
return undefined;
|
||||
}
|
||||
|
||||
//if not a model
|
||||
if (!value.get) {
|
||||
return value = new Backbone.Model(value);
|
||||
value = new Backbone.Model(value);
|
||||
}
|
||||
|
||||
return value;
|
||||
|
Reference in New Issue
Block a user