mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Delete logs/log files won't blow up
This commit is contained in:
parent
fb4e9fed85
commit
a01f2dd862
2 changed files with 9 additions and 2 deletions
|
@ -120,7 +120,10 @@ define(
|
|||
_refreshLogs: function (buttonContext) {
|
||||
this.collection.state.currentPage = 1;
|
||||
var promise = this.collection.fetch({ reset: true });
|
||||
buttonContext.ui.icon.spinForPromise(promise);
|
||||
|
||||
if (buttonContext) {
|
||||
buttonContext.ui.icon.spinForPromise(promise);
|
||||
}
|
||||
},
|
||||
|
||||
_commandComplete: function (options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue