mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Log files are viewable in the UI
This commit is contained in:
13
UI/Logs/Files/Collection.js
Normal file
13
UI/Logs/Files/Collection.js
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
define(['Logs/Files/Model' ],
|
||||
function (LogFileModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : window.ApiRoot + '/log/files',
|
||||
model: LogFileModel,
|
||||
|
||||
state: {
|
||||
sortKey : 'lastWriteTime',
|
||||
order : 1
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user