mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 01:18:12 +08:00
sort the embedding names for the UI (#1098)
This commit is contained in:
@@ -28,7 +28,7 @@ const LayoutChoice = (
|
||||
case "reset World to eq Universe": {
|
||||
// set default to default
|
||||
const { schema } = nextSharedState.world;
|
||||
const available = schema.layout.obs.map(v => v.name);
|
||||
const available = schema.layout.obs.map(v => v.name).sort();
|
||||
const current = bestDefaultLayout(available);
|
||||
const currentDimNames = schema.layout.obsByName[current].dims;
|
||||
return { available, current, currentDimNames };
|
||||
|
||||
Reference in New Issue
Block a user