From 009e431ad8a1822401561a76cb3f6f64c3f17d3e Mon Sep 17 00:00:00 2001 From: Fernando Olivares Date: Thu, 22 Jan 2026 03:00:17 -0600 Subject: [PATCH] Add has_attachments to notification card JSON Co-Authored-By: Claude Opus 4.5 --- app/views/notifications/_notification.json.jbuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/notifications/_notification.json.jbuilder b/app/views/notifications/_notification.json.jbuilder index 5673097a7..ac85f837f 100644 --- a/app/views/notifications/_notification.json.jbuilder +++ b/app/views/notifications/_notification.json.jbuilder @@ -11,6 +11,7 @@ json.cache! notification do json.card do json.(notification.card, :id, :number, :title, :status) json.board_name notification.card.board.name + json.has_attachments notification.card.has_attachments? json.url card_url(notification.card) json.column notification.card.column, partial: "columns/column", as: :column if notification.card.column end