From 2037dfbd03704f65b469f41a0203e4b6960e137e Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Thu, 25 Mar 2021 21:16:18 +0800 Subject: [PATCH] prepareEdit: ensure 'incognito' is false when channel is active. ## Issue Closes #5720: Edit: channel-selector should re-populate with original channel ## Notes 'incognito' was not set to false, causing the 'ChannelSelector' to select Anonymous. --- CHANGELOG.md | 1 + ui/component/fileActions/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 056b39f70..71e806ef5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Autoplay looping to a previous video or itself ([#5711](https://github.com/lbryio/lbry-desktop/pull/5711)) - Autoplay not working in mini-player mode ([#5716](https://github.com/lbryio/lbry-desktop/pull/5716)) +- Edited claim accidentally moved to 'Anonymous' ([#5767](https://github.com/lbryio/lbry-desktop/pull/5767)) ## [0.50.1] - [2021-03-18] diff --git a/ui/component/fileActions/index.js b/ui/component/fileActions/index.js index 7a2f5e48d..c41e55c52 100644 --- a/ui/component/fileActions/index.js +++ b/ui/component/fileActions/index.js @@ -29,6 +29,7 @@ const perform = (dispatch) => ({ openModal: (modal, props) => dispatch(doOpenModal(modal, props)), prepareEdit: (publishData, uri, fileInfo) => { if (publishData.signing_channel) { + dispatch(doSetIncognito(false)); dispatch(doSetActiveChannel(publishData.signing_channel.claim_id)); } else { dispatch(doSetIncognito(true));