mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
Revert "Convert some instances (filter, find, pick) to native from lodash"
This reverts commit d8a0aac9c3.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import _ from 'lodash';
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
@@ -26,7 +27,7 @@ function createMapStateToProps() {
|
||||
items
|
||||
} = restrictions;
|
||||
|
||||
const profile = id ? items.find({ id }) : newRestriction;
|
||||
const profile = id ? _.find(items, { id }) : newRestriction;
|
||||
const settings = selectSettings(profile, pendingChanges, saveError);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user