mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Calendar moved to layout
This commit is contained in:
@@ -3,7 +3,7 @@ define(['app',
|
||||
'Form/FormBuilder',
|
||||
'AddSeries/AddSeriesLayout',
|
||||
'Series/Index/SeriesIndexLayout',
|
||||
'Calendar/CalendarCollectionView',
|
||||
'Calendar/CalendarLayout',
|
||||
'Shared/NotificationView',
|
||||
'Shared/NotFoundView',
|
||||
'MainMenuView',
|
||||
@@ -43,9 +43,7 @@ define(['app',
|
||||
|
||||
calendar: function () {
|
||||
this._setTitle('Calendar');
|
||||
var calendarCollection = new NzbDrone.Calendar.CalendarCollection();
|
||||
calendarCollection.fetch();
|
||||
NzbDrone.mainRegion.show(new NzbDrone.Calendar.CalendarCollectionView({collection: calendarCollection}));
|
||||
NzbDrone.mainRegion.show(new NzbDrone.Calendar.CalendarLayout());
|
||||
},
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user