diff --git a/lib/nerves_hub_web/live/devices/show.html.heex b/lib/nerves_hub_web/live/devices/show.html.heex
index d1a3e655b..1485ac90d 100644
--- a/lib/nerves_hub_web/live/devices/show.html.heex
+++ b/lib/nerves_hub_web/live/devices/show.html.heex
@@ -111,7 +111,7 @@
<%= if (!Enum.any?(Map.values(@latest_metrics)) or !Enum.any?(Map.values(@latest_custom_metrics))) do %>
- No health information have been received for this device.
+ No health information has been received for this device.
<% end %>
@@ -127,11 +127,6 @@
Memory used
<%= round(@latest_metrics.used_mb) %>MB (<%= round(@latest_metrics.used_percent) %>%)
- <% else %>
-
-
Memory used
- Not reported
-
<% end %>
<%= if @latest_metrics.cpu_temp do %>
@@ -139,11 +134,6 @@
CPU
<%= round(@latest_metrics.cpu_temp) %>°
- <% else %>
-
<% end %>
<%= for {key, val} <- @latest_custom_metrics do %>
diff --git a/test/nerves_hub_web/live/devices/show_test.exs b/test/nerves_hub_web/live/devices/show_test.exs
index e8c4a6125..fd3cd9d13 100644
--- a/test/nerves_hub_web/live/devices/show_test.exs
+++ b/test/nerves_hub_web/live/devices/show_test.exs
@@ -231,7 +231,7 @@ defmodule NervesHubWeb.Live.Devices.ShowTest do
|> visit("/org/#{org.name}/#{product.name}/devices/#{device.identifier}")
|> assert_has("h1", text: device.identifier)
|> assert_has("div", text: "Health")
- |> assert_has("div", text: "No health information have been received for this device.")
+ |> assert_has("div", text: "No health information has been received for this device.")
end
test "full set of information", %{
@@ -289,8 +289,6 @@ defmodule NervesHubWeb.Live.Devices.ShowTest do
|> assert_has("div", text: "0.0 | 0.0 | 0.0")
|> assert_has("div", text: "Memory used")
|> assert_has("div", text: "100MB (60%)")
- |> assert_has("div", text: "CPU")
- |> assert_has("div", text: "Not reported")
|> assert_has("span", text: "Last reported :")
|> assert_has("time", text: "ago")
end