mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 22:08:11 +08:00
Add in missing previous crossfilter which was causing the re-embedding feature to fail. (#1936)
This commit is contained in:
@@ -79,10 +79,11 @@ export function requestReembed() {
|
||||
type: "reembed: request completed",
|
||||
});
|
||||
|
||||
const { annoMatrix: prevAnnoMatrix } = getState();
|
||||
const { annoMatrix: prevAnnoMatrix, obsCrossfilter: prevCrossfilter } = getState();
|
||||
const base = prevAnnoMatrix.base().addEmbedding(schema);
|
||||
const [annoMatrix, obsCrossfilter] = await _switchEmbedding(
|
||||
base,
|
||||
prevCrossfilter,
|
||||
schema.name
|
||||
);
|
||||
dispatch({
|
||||
|
||||
Reference in New Issue
Block a user