mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Frontend Cleanup
This commit is contained in:
@@ -99,8 +99,6 @@ function applySchemaDefaults(selectedSchema, schemaDefaults) {
|
||||
function selectSchema(state, payload, schemaDefaults) {
|
||||
const newState = getSectionState(state, section);
|
||||
|
||||
console.log(payload);
|
||||
|
||||
const {
|
||||
implementation,
|
||||
name
|
||||
@@ -108,8 +106,6 @@ function selectSchema(state, payload, schemaDefaults) {
|
||||
|
||||
const selectedImplementation = _.find(newState.schema, { implementation, name });
|
||||
|
||||
console.log(selectedImplementation);
|
||||
|
||||
newState.selectedSchema = applySchemaDefaults(_.cloneDeep(selectedImplementation), schemaDefaults);
|
||||
|
||||
return updateSectionState(state, section, newState);
|
||||
|
Reference in New Issue
Block a user