mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Model driven indexer settings
This commit is contained in:
@@ -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