Skip to content

Commit fd579d7

Browse files
committed
add missing field indicator
1 parent c334b6a commit fd579d7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/algora_web/live/admin/seed_live.ex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,15 @@ defmodule AlgoraWeb.Admin.SeedLive do
171171
</.link>
172172
<% end %>
173173
</div>
174-
<p class="text-muted-foreground line-clamp-1 font-medium text-sm">
175-
{@value.domain}
176-
</p>
174+
<%= if @value.domain do %>
175+
<p class="text-muted-foreground line-clamp-1 font-medium text-sm">
176+
{@value.domain}
177+
</p>
178+
<% else %>
179+
<p class="text-destructive-400 line-clamp-1 font-medium text-sm">
180+
Domain not found
181+
</p>
182+
<% end %>
177183
</div>
178184
</div>
179185
"""

0 commit comments

Comments
 (0)