diff --git a/views/021_notification.sql b/views/021_notification.sql index 51462289..0bbd38be 100644 --- a/views/021_notification.sql +++ b/views/021_notification.sql @@ -72,7 +72,7 @@ UNION SELECT nsh.*, 'component' as "resource_type", - jsonb_build_object('id', component.id, 'name', component.name) as resource + jsonb_build_object('id', component.id, 'name', component.name, 'icon', component.icon) as resource FROM notification_send_history nsh LEFT JOIN ( SELECT