Fix NoMethodError on nil accountable for logo color (#1334)

Co-authored-by: sentry[bot] <39604003+sentry[bot]@users.noreply.github.com>
This commit is contained in:
sentry[bot]
2026-04-01 20:19:56 +02:00
committed by GitHub
parent 43d617661f
commit f63630c0fa

View File

@@ -14,7 +14,7 @@
<% else %>
<%= render DS::FilledIcon.new(
variant: :text,
hex_color: color || account.accountable.color,
hex_color: color || account.accountable&.color,
text: account.name,
size: size,
rounded: true