From 9f154ac6b7f53f653fab70f73f1c36301ec9b393 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Sat, 26 Aug 2017 10:46:20 -0600 Subject: [PATCH] revert last commit fa531e9 --- ui/js/component/fileActions/view.jsx | 3 +-- ui/js/component/publishForm/view.jsx | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ui/js/component/fileActions/view.jsx b/ui/js/component/fileActions/view.jsx index 85dfbc1b4..cf6db5680 100644 --- a/ui/js/component/fileActions/view.jsx +++ b/ui/js/component/fileActions/view.jsx @@ -82,7 +82,6 @@ class FileActions extends React.PureComponent { } = this.props; const name = fileInfo ? fileInfo.name : null; - const path = fileInfo ? fileInfo.download_path : null; const channel = fileInfo ? fileInfo.channel_name : null; const metadata = fileInfo ? fileInfo.metadata : null, @@ -193,7 +192,7 @@ class FileActions extends React.PureComponent { {claimIsMine && navigate("/publish", { name, channel, path })} + onClick={() => navigate("/publish", { name, channel })} label={__("Edit claim")} />} { this.onFileChange(event); }}