Temporary changes to pass type checking. May not be correct.
parent
2a04803dc6
commit
37f7517c51
|
@ -98,6 +98,7 @@ export interface CheckboxSelectionsState {
|
|||
Plant: boolean;
|
||||
GenericPointer: boolean;
|
||||
ToolSlot: boolean;
|
||||
Weed: boolean;
|
||||
}
|
||||
|
||||
export interface NumberLtGtInputProps {
|
||||
|
|
|
@ -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) => () =>
|
||||
|
|
|
@ -41,6 +41,7 @@ export const NAME_MAP: Record<DropdownHeadingId, string> = {
|
|||
"ToolSlot": "Slots",
|
||||
"Tool": "Tools and Seed Containers",
|
||||
"PointGroup": "Groups",
|
||||
"Weed": "Weeds",
|
||||
"Other": "Other",
|
||||
};
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue