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