v2.0.29
The $getState() function may return a string instead of a model in some contexts. This fix adds a type check and only renders the download button when a valid attachment object with mail_id is available. Fixes backstagephp/filament-mails#69 Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>