mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 13:01:28 +02:00
Log file changes
New: Update log files are available in the UI Fixed: UI error after clearing log files
This commit is contained in:
17
src/UI/System/Logs/Updates/LogFileCollection.js
Normal file
17
src/UI/System/Logs/Updates/LogFileCollection.js
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'System/Logs/Updates/LogFileModel'
|
||||
], function (Backbone, LogFileModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : window.NzbDrone.ApiRoot + '/log/file/update',
|
||||
model: LogFileModel,
|
||||
|
||||
state: {
|
||||
sortKey: 'lastWriteTime',
|
||||
order : 1
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user