mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 03:38:11 +08:00
Updating front-end dependencies (#2167)
* update to webpack 5 * update babel * update eslint * update cheerio * update npm min to v7 * revert engine change * generate package lock with npm v6 (lockfileVersion 1) * add region to test setup * update blueprint popover2 * tabindex changes due to blueprint popover2 revision * update snapshots * update lodash and pako * fix typo * fix lodash refactoring * more lodash refactoring * update babel and blueprintjs * update jest support packages * update puppeteer * update regl * update react-icons and react-helmet * update react and react-dom
This commit is contained in:
Vendored
+4
-3
@@ -1,4 +1,5 @@
|
||||
import _ from "lodash";
|
||||
import uniq from "lodash.uniq";
|
||||
import filter from "lodash.filter";
|
||||
import { subsetAndResetGeneLists } from "../util/stateManager/controlsHelpers";
|
||||
|
||||
const Controls = (
|
||||
@@ -80,7 +81,7 @@ const Controls = (
|
||||
}
|
||||
case "request user defined gene success": {
|
||||
const { userDefinedGenes } = state;
|
||||
const _userDefinedGenes = _.uniq(
|
||||
const _userDefinedGenes = uniq(
|
||||
userDefinedGenes.concat(action.data.genes)
|
||||
);
|
||||
return {
|
||||
@@ -104,7 +105,7 @@ const Controls = (
|
||||
}
|
||||
case "clear user defined gene": {
|
||||
const { userDefinedGenes } = state;
|
||||
const newUserDefinedGenes = _.filter(
|
||||
const newUserDefinedGenes = filter(
|
||||
userDefinedGenes,
|
||||
(d) => d !== action.data
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user