mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
parent
c804813e5f
commit
a78debc461
6 changed files with 12 additions and 8 deletions
|
|
@ -55,7 +55,7 @@ BlazeComponent.extendComponent({
|
|||
cardLink() {
|
||||
const card = this.currentData().card();
|
||||
return card && Blaze.toHTML(HTML.A({
|
||||
href: card.absoluteUrl(),
|
||||
href: FlowRouter.path(card.absoluteUrl()),
|
||||
'class': 'action-card',
|
||||
}, card.title));
|
||||
},
|
||||
|
|
@ -69,7 +69,7 @@ BlazeComponent.extendComponent({
|
|||
attachmentLink() {
|
||||
const attachment = this.currentData().attachment();
|
||||
return attachment && Blaze.toHTML(HTML.A({
|
||||
href: attachment.url({ download: true }),
|
||||
href: FlowRouter.path(attachment.url({ download: true })),
|
||||
target: '_blank',
|
||||
}, attachment.name()));
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue