summaryrefslogtreecommitdiffstats
path: root/client/components/activities
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-06-27 11:37:16 +0900
committernztqa <nztqa@users.noreply.github.com>2017-06-27 11:37:16 +0900
commitef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18 (patch)
tree469de80fc2bc8cee701f98538d9fbc9f9082c7d8 /client/components/activities
parent8937f18423cafa770db9fb88225b74b775ec62a5 (diff)
downloadwekan-ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18.tar.gz
wekan-ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18.tar.bz2
wekan-ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18.zip
Fix: incorrect attachment link with subfolder in the url
Diffstat (limited to 'client/components/activities')
-rw-r--r--client/components/activities/activities.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js
index 6600849c..ccb064f3 100644
--- a/client/components/activities/activities.js
+++ b/client/components/activities/activities.js
@@ -86,7 +86,7 @@ BlazeComponent.extendComponent({
const attachment = this.currentData().attachment();
// trying to display url before file is stored generates js errors
return attachment && attachment.url({ download: true }) && Blaze.toHTML(HTML.A({
- href: FlowRouter.path(attachment.url({ download: true })),
+ href: attachment.url({ download: true }),
target: '_blank',
}, attachment.name()));
},