mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Updating manually now uses a command so it shows progress
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
define(
|
||||
[
|
||||
'marionette'
|
||||
], function (Marionette) {
|
||||
'marionette',
|
||||
'Commands/CommandController'
|
||||
], function (Marionette, CommandController) {
|
||||
return Marionette.ItemView.extend({
|
||||
template: 'System/Update/UpdateItemViewTemplate',
|
||||
|
||||
@@ -12,7 +13,7 @@ define(
|
||||
},
|
||||
|
||||
_installUpdate: function () {
|
||||
this.model.save();
|
||||
CommandController.Execute('installUpdate', { updatePackage: this.model.toJSON() });
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user