mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
Fix download atachment widget.
Document_url when activated causes error when opening attachment link on the chatter window
This commit (366676cafd) move download buttons into a sub-component.
I modified the module behavior to use canDownload() method instead of adding a t-if in the view and prevent the chatter component from breaking when the message has attachments.