mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 21:12:43 +02: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';
|
||||
@@ -16,8 +17,8 @@ function createMapStateToProps() {
|
||||
schema
|
||||
} = downloadClients;
|
||||
|
||||
const usenetDownloadClients = schema.filter({ protocol: 'usenet' });
|
||||
const torrentDownloadClients = schema.filter({ protocol: 'torrent' });
|
||||
const usenetDownloadClients = _.filter(schema, { protocol: 'usenet' });
|
||||
const torrentDownloadClients = _.filter(schema, { protocol: 'torrent' });
|
||||
|
||||
return {
|
||||
isSchemaFetching,
|
||||
|
Reference in New Issue
Block a user