mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
Log details
New: Logs now have details available
This commit is contained in:
@@ -130,12 +130,12 @@ define(
|
||||
filename: filename
|
||||
});
|
||||
|
||||
this.listenToOnce(contentsModel, 'sync', this._showContents);
|
||||
this.listenToOnce(contentsModel, 'sync', this._showDetails);
|
||||
|
||||
contentsModel.fetch({ dataType: 'text' });
|
||||
},
|
||||
|
||||
_showContents: function (model) {
|
||||
_showDetails: function (model) {
|
||||
this.contents.show(new ContentsView({ model: model }));
|
||||
},
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@ define(
|
||||
className: 'log-file-row',
|
||||
|
||||
events: {
|
||||
'click': '_showContents'
|
||||
'click': '_showDetails'
|
||||
},
|
||||
|
||||
_showContents: function () {
|
||||
_showDetails: function () {
|
||||
vent.trigger(vent.Commands.ShowLogFile, { model: this.model });
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user