diff --git a/ui/js/component/fileActions/view.jsx b/ui/js/component/fileActions/view.jsx index cf6db5680..85dfbc1b4 100644 --- a/ui/js/component/fileActions/view.jsx +++ b/ui/js/component/fileActions/view.jsx @@ -82,6 +82,7 @@ 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, @@ -192,7 +193,7 @@ class FileActions extends React.PureComponent { {claimIsMine && navigate("/publish", { name, channel })} + onClick={() => navigate("/publish", { name, channel, path })} label={__("Edit claim")} />} { this.onFileChange(event); }}