fix
This commit is contained in:
parent
0885b7d75d
commit
2d4f083164
|
@ -60,7 +60,6 @@ json.setting do
|
||||||
if @top_system_notification.present?
|
if @top_system_notification.present?
|
||||||
json.system_notification do
|
json.system_notification do
|
||||||
json.(@top_system_notification, :id, :subject, :sub_subject, :content)
|
json.(@top_system_notification, :id, :subject, :sub_subject, :content)
|
||||||
json.is_read @top_system_notification.read_member?(current_user.id)
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
json.system_notification nil
|
json.system_notification nil
|
||||||
|
|
Loading…
Reference in New Issue