Skip to content

Commit

Permalink
Add some missing logic for the "No archive configured" label (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk authored Feb 12, 2025
1 parent 96587ff commit 10680c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nerves_hub_web/components/deployment_page/summary.ex
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule NervesHubWeb.Components.DeploymentPage.Summary do
>
<span class="text-xs text-zinc-300 tracking-tight">{@deployment.archive.version} ({String.slice(@deployment.archive.uuid, 0..7)})</span>
</.link>
<span class="pl-1 text-xs text-nerves-gray-500">No archive configured</span>
<span :if={is_nil(@deployment.archive)} class="pl-1 text-xs text-nerves-gray-500">No archive configured</span>
</div>
</div>
Expand Down

0 comments on commit 10680c4

Please sign in to comment.