From b6279febc55b9efb719e2f3cf0706ca6d295dca7 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Sat, 23 Sep 2017 22:46:22 -0600 Subject: [PATCH] show full path to prevent confusion --- ui/js/component/fileDetails/view.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/js/component/fileDetails/view.jsx b/ui/js/component/fileDetails/view.jsx index 6a4cd2047..aaa6ab24e 100644 --- a/ui/js/component/fileDetails/view.jsx +++ b/ui/js/component/fileDetails/view.jsx @@ -34,8 +34,6 @@ class FileDetails extends React.PureComponent { ? path.normalize(fileInfo.download_path) : null; - const directory = downloadPath ? path.dirname(downloadPath) : null; - return (
@@ -62,12 +60,12 @@ class FileDetails extends React.PureComponent { {__("License")}{license} - {directory && + {downloadPath && {__("Downloaded to")} openFolder(downloadPath)}> - {directory} + {downloadPath} }