mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 06:21:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user