diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-07-07 01:24:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 01:24:03 +0200 |
commit | c3187411c26aa00eb5844e4a7f9889f2cb19867e (patch) | |
tree | aa5b0676119c27d73680c5e7dd0d709ebbaaadde /app/serializers | |
parent | 83fd046107999cc8ce166c997afee74409359002 (diff) |
Change design of account notes in web UI (#14208)
* Change design of account notes in web UI * Fix `for` -> `htmlFor`
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/rest/relationship_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/relationship_serializer.rb b/app/serializers/rest/relationship_serializer.rb index e295fb847..c2f3c9a11 100644 --- a/app/serializers/rest/relationship_serializer.rb +++ b/app/serializers/rest/relationship_serializer.rb @@ -52,6 +52,6 @@ class REST::RelationshipSerializer < ActiveModel::Serializer end def note - (instance_options[:relationships].account_note[object.id] || {})[:comment] + (instance_options[:relationships].account_note[object.id] || {})[:comment] || '' end end |