Temporary changes to pass type checking. May not be correct.

pull/1738/head
Rick Carlino 2020-03-22 19:26:19 -05:00
parent 2a04803dc6
commit 37f7517c51
4 changed files with 4 additions and 2 deletions

View File

@ -98,6 +98,7 @@ export interface CheckboxSelectionsState {
Plant: boolean;
GenericPointer: boolean;
ToolSlot: boolean;
Weed: boolean;
}
export interface NumberLtGtInputProps {

View File

@ -26,7 +26,7 @@ const CRITERIA_POINT_TYPES =
export class CheckboxSelections extends React.Component
<CheckboxSelectionsProps, Partial<CheckboxSelectionsState>> {
state: CheckboxSelectionsState = {
Plant: false, GenericPointer: false, ToolSlot: false
Plant: false, GenericPointer: false, ToolSlot: false, Weed: false
};
toggleMore = (section: keyof CheckboxSelectionsState) => () =>

View File

@ -41,6 +41,7 @@ export const NAME_MAP: Record<DropdownHeadingId, string> = {
"ToolSlot": "Slots",
"Tool": "Tools and Seed Containers",
"PointGroup": "Groups",
"Weed": "Weeds",
"Other": "Other",
};

View File

@ -45,7 +45,7 @@
"coveralls": "3.0.11",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"farmbot": "9.2.0-rc2",
"farmbot": "9.2.0-rc3",
"i18next": "19.3.3",
"install": "0.13.0",
"lodash": "4.17.15",