mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
New: Blacklist added to UI (under history)
This commit is contained in:
@@ -81,7 +81,7 @@ define(
|
||||
title : 'Refresh',
|
||||
icon : 'icon-refresh',
|
||||
ownerContext : this,
|
||||
callback : this._refreshLogs
|
||||
callback : this._refreshTable
|
||||
},
|
||||
|
||||
{
|
||||
@@ -140,7 +140,7 @@ define(
|
||||
this.contents.show(new ContentsView({ model: model }));
|
||||
},
|
||||
|
||||
_refreshLogs: function (buttonContext) {
|
||||
_refreshTable: function (buttonContext) {
|
||||
this.contents.close();
|
||||
var promise = this.collection.fetch();
|
||||
|
||||
@@ -152,7 +152,7 @@ define(
|
||||
|
||||
_commandComplete: function (options) {
|
||||
if (options.command.get('name') === 'deletelogfiles') {
|
||||
this._refreshLogs();
|
||||
this._refreshTable();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -97,7 +97,7 @@ define(
|
||||
title : 'Refresh',
|
||||
icon : 'icon-refresh',
|
||||
ownerContext : this,
|
||||
callback : this._refreshLogs
|
||||
callback : this._refreshTable
|
||||
},
|
||||
|
||||
{
|
||||
@@ -117,7 +117,7 @@ define(
|
||||
}));
|
||||
},
|
||||
|
||||
_refreshLogs: function (buttonContext) {
|
||||
_refreshTable: function (buttonContext) {
|
||||
this.collection.state.currentPage = 1;
|
||||
var promise = this.collection.fetch({ reset: true });
|
||||
|
||||
@@ -128,7 +128,7 @@ define(
|
||||
|
||||
_commandComplete: function (options) {
|
||||
if (options.command.get('name') === 'clearlog') {
|
||||
this._refreshLogs();
|
||||
this._refreshTable();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user