mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Episode grid will show downloading on grab
New: Update episode status in UI on grab and download
This commit is contained in:
parent
b6693a20a9
commit
daeb2fc652
37 changed files with 613 additions and 128 deletions
17
UI/History/Queue/QueueCollection.js
Normal file
17
UI/History/Queue/QueueCollection.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'History/Queue/QueueModel',
|
||||
'Mixins/backbone.signalr.mixin'
|
||||
], function (Backbone, QueueModel) {
|
||||
var QueueCollection = Backbone.Collection.extend({
|
||||
url : window.NzbDrone.ApiRoot + '/queue',
|
||||
model: QueueModel
|
||||
});
|
||||
|
||||
var collection = new QueueCollection().bindSignalR();
|
||||
collection.fetch();
|
||||
|
||||
return collection;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue