reset compose state after success

This commit is contained in:
2458773093 2019-08-23 03:20:11 +03:00
parent e5a05a9210
commit a8bef0faab
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ function statusToTextMentions(state, status) {
function clearAll(state) { function clearAll(state) {
return state.withMutations(map => { return state.withMutations(map => {
map.set('id', null);
map.set('text', ''); map.set('text', '');
map.set('spoiler', false); map.set('spoiler', false);
map.set('spoiler_text', ''); map.set('spoiler_text', '');