mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
No more caching of log files, also better handling of logs on page load
This commit is contained in:
parent
7d9eaf8cfc
commit
ee2973efe7
8 changed files with 85 additions and 36 deletions
17
src/UI/System/Logs/Files/DownloadLogCell.js
Normal file
17
src/UI/System/Logs/Files/DownloadLogCell.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'Cells/NzbDroneCell'
|
||||
], function (NzbDroneCell) {
|
||||
return NzbDroneCell.extend({
|
||||
|
||||
className: 'download-log-cell',
|
||||
|
||||
render: function () {
|
||||
this.$el.empty();
|
||||
this.$el.html('<a href="/log/{0}" class="no-router" target="_blank">Download</a>'.format(this.cellValue));
|
||||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue