Fix NoMethodError on nil accountable for logo color

This commit is contained in:
sentry[bot]
2026-04-01 09:24:52 +00:00
committed by GitHub
parent 43d617661f
commit 5027142b98

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