mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Model driven indexer settings
This commit is contained in:
13
UI/Settings/Indexers/Model.js
Normal file
13
UI/Settings/Indexers/Model.js
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
define(['app'], function (app) {
|
||||
NzbDrone.Settings.Indexers.Model = Backbone.DeepModel.extend({
|
||||
mutators: {
|
||||
fields: function () {
|
||||
return [
|
||||
{ key: 'username', title: 'Username', helpText: 'HALP!', value: 'mark', index: 0 },
|
||||
{ key: 'apiKey', title: 'API Key', helpText: 'HALP!', value: '', index: 1 }
|
||||
];
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user