mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 04:08:13 +08:00
fix logic inversion on regraph
This commit is contained in:
@@ -57,9 +57,9 @@ const regraph = () => {
|
|||||||
|
|
||||||
dispatch(requestCells(uri.search())).then(res => {
|
dispatch(requestCells(uri.search())).then(res => {
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
dispatch({ type: "regraph success" });
|
|
||||||
} else {
|
|
||||||
dispatch({ type: "regraph error" });
|
dispatch({ type: "regraph error" });
|
||||||
|
} else {
|
||||||
|
dispatch({ type: "regraph success" });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user