From 7b046af751470fdbcdd73469619e05527c4dea32 Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Wed, 25 Sep 2019 10:25:18 -0500 Subject: [PATCH] Upgrades and any removals --- db/seeds.rb | 2 +- frontend/devices/components/fbos_settings/fbos_details.tsx | 3 +-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 8dacb0327..489b7aa96 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -62,7 +62,7 @@ if Rails.env == "development" z: rand(1...300) }) end - VEGGIES.each do |veggie| + VEGGIES.shuffle.first(PLANT_COUNT).each do |veggie| Plant.create(device: u.device, x: rand(40...1500), y: rand(40...800), diff --git a/frontend/devices/components/fbos_settings/fbos_details.tsx b/frontend/devices/components/fbos_settings/fbos_details.tsx index fdbea87b4..f48dc9da5 100644 --- a/frontend/devices/components/fbos_settings/fbos_details.tsx +++ b/frontend/devices/components/fbos_settings/fbos_details.tsx @@ -273,8 +273,7 @@ export function FbosDetails(props: FbosDetailsProps) { env, commit, target, node_name, firmware_version, firmware_commit, soc_temp, wifi_level, uptime, memory_usage, disk_usage, throttled, wifi_level_percent, cpu_usage, private_ip, - // tslint:disable-next-line:no-any - } = props.botInfoSettings as any; + } = props.botInfoSettings; const { last_ota, last_ota_checkup } = props.deviceAccount.body; return
diff --git a/package.json b/package.json index b2c5b80ec..fd8ae90bb 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "coveralls": "3.0.6", "enzyme": "3.10.0", "enzyme-adapter-react-16": "1.14.0", - "farmbot": "8.3.0-rc1", + "farmbot": "8.3.0-rc2", "i18next": "17.0.16", "lodash": "4.17.15", "markdown-it": "10.0.0",