Use point_group_id instead of resource_id. Fix typos.
parent
42d931ad3e
commit
f09b1eba87
|
@ -18,9 +18,9 @@ interface Props {
|
|||
const optionsTable: Record<PointGroupSortType, string> = {
|
||||
"random": "Random Order",
|
||||
"xy_ascending": "X/Y, Ascending",
|
||||
"xy_decending": "X/Y, Descending",
|
||||
"xy_descending": "X/Y, Descending",
|
||||
"yx_ascending": "Y/X, Ascending",
|
||||
"yx_decending": "Y/X Descending",
|
||||
"yx_descending": "Y/X Descending",
|
||||
}; // Typechecker will remind us when this needs an update. Don't simplify - RC
|
||||
|
||||
const optionPlusDescriptions =
|
||||
|
@ -81,13 +81,13 @@ const SORT_OPTIONS: SortDictionary = {
|
|||
xy_ascending(plants) {
|
||||
return sortBy(plants, ["body.x", "body.y"]);
|
||||
},
|
||||
xy_decending(plants) {
|
||||
xy_descending(plants) {
|
||||
return sortBy(plants, ["body.x", "body.y"]).reverse();
|
||||
},
|
||||
yx_ascending(plants) {
|
||||
return sortBy(plants, ["body.y", "body.x"]);
|
||||
},
|
||||
yx_decending(plants) {
|
||||
yx_descending(plants) {
|
||||
return sortBy(plants, ["body.y", "body.x"]).reverse();
|
||||
}
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"coveralls": "3.0.6",
|
||||
"enzyme": "3.10.0",
|
||||
"enzyme-adapter-react-16": "1.14.0",
|
||||
"farmbot": "8.3.0-rc4",
|
||||
"farmbot": "8.3.0-rc5",
|
||||
"i18next": "17.0.16",
|
||||
"lodash": "4.17.15",
|
||||
"markdown-it": "10.0.0",
|
||||
|
|
Loading…
Reference in New Issue