Style and dep. updates
parent
2f331f0f9d
commit
987e0754ec
12
Gemfile.lock
12
Gemfile.lock
|
@ -70,7 +70,7 @@ GEM
|
|||
url
|
||||
coderay (1.1.2)
|
||||
concurrent-ruby (1.1.5)
|
||||
crass (1.0.4)
|
||||
crass (1.0.5)
|
||||
database_cleaner (1.7.0)
|
||||
declarative (0.0.10)
|
||||
declarative-option (0.1.0)
|
||||
|
@ -106,15 +106,15 @@ GEM
|
|||
railties (>= 3.2, < 6.1)
|
||||
globalid (0.4.2)
|
||||
activesupport (>= 4.2.0)
|
||||
google-api-client (0.32.1)
|
||||
google-api-client (0.33.1)
|
||||
addressable (~> 2.5, >= 2.5.1)
|
||||
googleauth (>= 0.5, < 0.10.0)
|
||||
googleauth (~> 0.9)
|
||||
httpclient (>= 2.8.1, < 3.0)
|
||||
mini_mime (~> 1.0)
|
||||
representable (~> 3.0)
|
||||
retriable (>= 2.0, < 4.0)
|
||||
signet (~> 0.10)
|
||||
google-cloud-core (1.3.1)
|
||||
signet (~> 0.12)
|
||||
google-cloud-core (1.3.2)
|
||||
google-cloud-env (~> 1.0)
|
||||
google-cloud-env (1.2.1)
|
||||
faraday (~> 0.11)
|
||||
|
@ -140,7 +140,7 @@ GEM
|
|||
json (2.2.0)
|
||||
jsonapi-renderer (0.2.2)
|
||||
jwt (2.2.1)
|
||||
loofah (2.3.0)
|
||||
loofah (2.3.1)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.5.9)
|
||||
mail (2.7.1)
|
||||
|
|
|
@ -53,7 +53,7 @@ export class RawSelectPlants extends React.Component<SelectPlantsProps, {}> {
|
|||
}
|
||||
}
|
||||
|
||||
SelectedNotUndef = (input?: string[] | undefined) => {
|
||||
selectedNotUndef = (input?: string[] | undefined) => {
|
||||
if (input !== undefined) {
|
||||
return input;
|
||||
} else {
|
||||
|
@ -82,7 +82,7 @@ export class RawSelectPlants extends React.Component<SelectPlantsProps, {}> {
|
|||
</button>
|
||||
<button className="fb-button dark-blue"
|
||||
onClick={() => this.props.dispatch(createGroup({
|
||||
points: this.SelectedNotUndef(this.props.selected)
|
||||
points: this.selectedNotUndef(this.props.selected)
|
||||
}))}>
|
||||
{t("Create group")}
|
||||
</button>
|
||||
|
@ -101,7 +101,7 @@ export class RawSelectPlants extends React.Component<SelectPlantsProps, {}> {
|
|||
panelColor={"gray"}
|
||||
blackText={true}
|
||||
title={t("{{length}} plants selected",
|
||||
{ length: this.SelectedNotUndef(selected).length })}
|
||||
{ length: this.selectedNotUndef(selected).length })}
|
||||
backTo={"/app/designer/plants"}
|
||||
description={Content.BOX_SELECT_DESCRIPTION} />
|
||||
<this.ActionButtons />
|
||||
|
|
20
package.json
20
package.json
|
@ -29,16 +29,16 @@
|
|||
"@blueprintjs/datetime": "3.14.0",
|
||||
"@blueprintjs/select": "3.11.1",
|
||||
"@types/enzyme": "3.10.3",
|
||||
"@types/jest": "24.0.18",
|
||||
"@types/jest": "24.0.19",
|
||||
"@types/lodash": "4.14.144",
|
||||
"@types/markdown-it": "0.0.9",
|
||||
"@types/moxios": "0.4.9",
|
||||
"@types/node": "12.7.12",
|
||||
"@types/node": "12.11.5",
|
||||
"@types/promise-timeout": "1.3.0",
|
||||
"@types/react": "16.9.5",
|
||||
"@types/react": "16.9.9",
|
||||
"@types/react-color": "3.0.1",
|
||||
"@types/react-dom": "16.9.1",
|
||||
"@types/react-redux": "7.1.4",
|
||||
"@types/react-dom": "16.9.2",
|
||||
"@types/react-redux": "7.1.5",
|
||||
"axios": "0.19.0",
|
||||
"boxed_value": "1.0.0",
|
||||
"browser-speech": "1.1.1",
|
||||
|
@ -46,7 +46,7 @@
|
|||
"enzyme": "3.10.0",
|
||||
"enzyme-adapter-react-16": "1.15.1",
|
||||
"farmbot": "8.3.0-rc6",
|
||||
"i18next": "17.2.0",
|
||||
"i18next": "17.3.0",
|
||||
"install": "0.13.0",
|
||||
"lodash": "4.17.15",
|
||||
"markdown-it": "10.0.0",
|
||||
|
@ -58,18 +58,18 @@
|
|||
"parcel-bundler": "1.12.4",
|
||||
"promise-timeout": "1.3.0",
|
||||
"raf": "3.4.1",
|
||||
"react": "16.10.2",
|
||||
"react": "16.11.0",
|
||||
"react-addons-test-utils": "15.6.2",
|
||||
"react-color": "2.17.3",
|
||||
"react-dom": "16.10.2",
|
||||
"react-dom": "16.11.0",
|
||||
"react-joyride": "2.1.1",
|
||||
"react-redux": "7.1.1",
|
||||
"react-test-renderer": "16.10.2",
|
||||
"react-test-renderer": "16.11.0",
|
||||
"react-transition-group": "4.3.0",
|
||||
"redux": "4.0.4",
|
||||
"redux-immutable-state-invariant": "2.1.0",
|
||||
"redux-thunk": "2.3.0",
|
||||
"sass": "1.23.0",
|
||||
"sass": "1.23.1",
|
||||
"sass-lint": "1.13.1",
|
||||
"takeme": "0.11.3",
|
||||
"ts-jest": "24.1.0",
|
||||
|
|
Loading…
Reference in New Issue