Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

server: fix seed page loading when no repository

+5 -1
+5 -1
lib/sower_web/live/seed_live/show.html.heex
··· 6 6 <.list> 7 7 <:item title="branch"><%= @seed.branch %></:item> 8 8 <:item title="repository"> 9 - <.link navigate={~p"/inputs/repos/#{@seed.repository.id}"}><%= @seed.repository.url %></.link> 9 + <%= if @seed.repository do %> 10 + <.link navigate={~p"/inputs/repos/#{@seed.repository.id}"}> 11 + <%= @seed.repository.url %> 12 + </.link> 13 + <% end %> 10 14 </:item> 11 15 <:item title="out_path"><%= @seed.out_path %></:item> 12 16 <:item title="created"><%= @seed.inserted_at %></:item>