diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-08 04:06:54 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-11-08 16:26:25 +0100 |
commit | 9b6d6a919f3bd908fbdf3efc9aa5d97d33e3fe6e (patch) | |
tree | 886b0986c3bbf57bf2767aa5300aabf4f020a277 /app/javascript/flavours/glitch/reducers | |
parent | fe1b69412880634d8d20e0af2c847cab37169d59 (diff) |
[Glitch] Fix redrafting a currently-editing post not leaving edit mode
Port 782b6835f786385c41c6455f2a251d1925b19eb5 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/reducers')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/compose.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index b739456da..460af3955 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -573,6 +573,7 @@ export default function compose(state = initialState, action) { 'advanced_options', map => map.merge(new ImmutableMap({ do_not_federate })) ); + map.set('id', null); if (action.status.get('spoiler_text').length > 0) { map.set('spoiler', true); |